pub struct Outcome<'a, E>(pub &'a Result<(), E>);Expand description
Formats the result of a step as ok or the error chain.
Tuple Fields§
§0: &'a Result<(), E>Trait Implementations§
impl<'a, E: Copy> Copy for Outcome<'a, E>
Auto Trait Implementations§
impl<'a, E> Freeze for Outcome<'a, E>
impl<'a, E> RefUnwindSafe for Outcome<'a, E>
impl<'a, E> Send for Outcome<'a, E>
impl<'a, E> Sync for Outcome<'a, E>
impl<'a, E> Unpin for Outcome<'a, E>
impl<'a, E> UnsafeUnpin for Outcome<'a, E>
impl<'a, E> UnwindSafe for Outcome<'a, E>
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