pub enum Step<O> {
Need,
Output(O),
Finished(O),
}Expand description
What a step produced.
Variants§
Need
Nothing until one of requested is met.
Output(O)
An output; the stage has more to do.
Finished(O)
The last output: the stage is done.
Trait Implementations§
Auto Trait Implementations§
impl<O> Freeze for Step<O>where
O: Freeze,
impl<O> RefUnwindSafe for Step<O>where
O: RefUnwindSafe,
impl<O> Send for Step<O>where
O: Send,
impl<O> Sync for Step<O>where
O: Sync,
impl<O> Unpin for Step<O>where
O: Unpin,
impl<O> UnsafeUnpin for Step<O>where
O: UnsafeUnpin,
impl<O> UnwindSafe for Step<O>where
O: UnwindSafe,
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