pub enum ExecutionResult {
Success,
Error(Error),
}
Expand description
Result-like enum for calls to eval code on a Ruby interpreter.
Variants§
Success
Call to the Ruby interpreter succeeded without error.
Error(Error)
Call to the Ruby interpreter raised an exception.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecutionResult
impl !RefUnwindSafe for ExecutionResult
impl !Send for ExecutionResult
impl !Sync for ExecutionResult
impl Unpin for ExecutionResult
impl !UnwindSafe for ExecutionResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more