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