pub enum Failure<P, F> {
Native(P),
Completion(Dispatch<F>),
}Expand description
Exact failure from native dispatch or completion decoding.
Variants§
Trait Implementations§
impl<P: Copy, F: Copy> Copy for Failure<P, F>
impl<P: Eq, F: Eq> Eq for Failure<P, F>
impl<P: PartialEq, F: PartialEq> StructuralPartialEq for Failure<P, F>
Auto Trait Implementations§
impl<P, F> Forget for Failure<P, F>
impl<P, F> Freeze for Failure<P, F>
impl<P, F> Move for Failure<P, F>
impl<P, F> RefUnwindSafe for Failure<P, F>where
P: RefUnwindSafe,
F: RefUnwindSafe,
impl<P, F> Send for Failure<P, F>
impl<P, F> Sync for Failure<P, F>
impl<P, F> Unpin for Failure<P, F>
impl<P, F> UnsafeUnpin for Failure<P, F>where
P: UnsafeUnpin,
F: UnsafeUnpin,
impl<P, F> UnwindSafe for Failure<P, F>where
P: UnwindSafe,
F: 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