pub enum Problem<E> {
Failed(E),
NotRun(String),
Unknown(String),
}Expand description
Why a call did not produce its success value.
Variants§
Failed(E)
The declared error: the call happened and failed.
NotRun(String)
The call definitely did not happen, with why.
Unknown(String)
The call may or may not have happened, with why.
Trait Implementations§
impl<E: Eq> Eq for Problem<E>
impl<E: PartialEq> StructuralPartialEq for Problem<E>
Auto Trait Implementations§
impl<E> Freeze for Problem<E>where
E: Freeze,
impl<E> RefUnwindSafe for Problem<E>where
E: RefUnwindSafe,
impl<E> Send for Problem<E>where
E: Send,
impl<E> Sync for Problem<E>where
E: Sync,
impl<E> Unpin for Problem<E>where
E: Unpin,
impl<E> UnsafeUnpin for Problem<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for Problem<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