pub enum Output<S, T> {
More(S),
Done(T),
}
Expand description
Captures the output from a steppable function. In the future, this should become an associated type.
Variants§
More(S)
Indicates the given computation has yet to reach a terminal state.
Done(T)
Indicates the given computation has reached a terminal state.
Implementations§
Auto Trait Implementations§
impl<S, T> Freeze for Output<S, T>
impl<S, T> RefUnwindSafe for Output<S, T>where
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<S, T> Send for Output<S, T>
impl<S, T> Sync for Output<S, T>
impl<S, T> Unpin for Output<S, T>
impl<S, T> UnwindSafe for Output<S, T>where
S: UnwindSafe,
T: 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