pub enum Failure<E> {
Backend(Storage<E>),
Context(Error),
}Expand description
Exact failure from the reactor or its retained receive storage.
Variants§
Trait Implementations§
impl<E: Eq> Eq for Failure<E>
Source§impl<E> From<!> for Failure<E>
impl<E> From<!> for Failure<E>
Source§fn from(value: Infallible) -> Self
fn from(value: Infallible) -> Self
Converts to this type from the input type.
impl<E: PartialEq> StructuralPartialEq for Failure<E>
Auto Trait Implementations§
impl<E> !Send for Failure<E>
impl<E> !Sync for Failure<E>
impl<E> Freeze for Failure<E>
impl<E> RefUnwindSafe for Failure<E>where
Storage<E>: RefUnwindSafe,
impl<E> Unpin for Failure<E>
impl<E> UnsafeUnpin for Failure<E>where
Storage<E>: UnsafeUnpin,
impl<E> UnwindSafe for Failure<E>where
Storage<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