pub enum Step {
Value(Value),
Events(Value),
Suspended(Box<Effect>),
}Expand description
The outcome of invoking an Op: a value, an event batch, or a suspension.
Variants§
Value(Value)
A completed value result.
Events(Value)
A batch of emitted events.
Suspended(Box<Effect>)
A suspended computation carrying the pending Effect.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Step
impl !UnwindSafe for Step
impl Freeze for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
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