pub enum Failure<C, L> {
Payload(Corrupt),
Frame(Error<C, L>),
Truncated,
Address(Error),
}Expand description
Native framing and address failures retain their original evidence.
Variants§
Trait Implementations§
impl<C: Copy, L: Copy> Copy for Failure<C, L>
impl<C: Eq, L: Eq> Eq for Failure<C, L>
impl<C: PartialEq, L: PartialEq> StructuralPartialEq for Failure<C, L>
Auto Trait Implementations§
impl<C, L> Forget for Failure<C, L>
impl<C, L> Freeze for Failure<C, L>
impl<C, L> Move for Failure<C, L>
impl<C, L> RefUnwindSafe for Failure<C, L>where
C: RefUnwindSafe,
L: RefUnwindSafe,
impl<C, L> Send for Failure<C, L>
impl<C, L> Sync for Failure<C, L>
impl<C, L> Unpin for Failure<C, L>
impl<C, L> UnsafeUnpin for Failure<C, L>where
C: UnsafeUnpin,
L: UnsafeUnpin,
impl<C, L> UnwindSafe for Failure<C, L>where
C: UnwindSafe,
L: 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