pub enum Outcome<E> {
Unrelated,
Done(Option<E>),
Failed(OpError),
}Expand description
How a received message relates to the step in flight.
Variants§
Not an answer to this step (e.g. a dump the user sent by hand).
Done(Option<E>)
The step completed, optionally with a result.
Failed(OpError)
The step failed; the rest of the op is abandoned.
Trait Implementations§
impl<E: Eq> Eq for Outcome<E>
impl<E: PartialEq> StructuralPartialEq for Outcome<E>
Auto Trait Implementations§
impl<E> Freeze for Outcome<E>where
E: Freeze,
impl<E> RefUnwindSafe for Outcome<E>where
E: RefUnwindSafe,
impl<E> Send for Outcome<E>where
E: Send,
impl<E> Sync for Outcome<E>where
E: Sync,
impl<E> Unpin for Outcome<E>where
E: Unpin,
impl<E> UnsafeUnpin for Outcome<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for Outcome<E>where
E: 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