pub enum StepResult {
Continue,
NewRunnable(Box<dyn Runnable>),
ReplaceRunnable(Box<dyn Runnable>),
Return(Box<OnionStaticObject>),
SetSelfObject(Box<OnionStaticObject>),
Error(RuntimeError),
}Variants§
Continue
NewRunnable(Box<dyn Runnable>)
ReplaceRunnable(Box<dyn Runnable>)
Return(Box<OnionStaticObject>)
SetSelfObject(Box<OnionStaticObject>)
Error(RuntimeError)
Implementations§
Source§impl StepResult
impl StepResult
pub fn unwrap_error(self) -> RuntimeError
Auto Trait Implementations§
impl Freeze for StepResult
impl !RefUnwindSafe for StepResult
impl Send for StepResult
impl Sync for StepResult
impl Unpin for StepResult
impl !UnwindSafe for StepResult
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