pub enum Decode<V, I> {
Value(V),
Error(Errno),
Invalid(I),
}Variants§
Trait Implementations§
impl<V: Copy, I: Copy> Copy for Decode<V, I>
impl<V: Eq, I: Eq> Eq for Decode<V, I>
impl<V: PartialEq, I: PartialEq> StructuralPartialEq for Decode<V, I>
Auto Trait Implementations§
impl<V, I> Freeze for Decode<V, I>
impl<V, I> RefUnwindSafe for Decode<V, I>where
V: RefUnwindSafe,
I: RefUnwindSafe,
impl<V, I> Send for Decode<V, I>
impl<V, I> Sync for Decode<V, I>
impl<V, I> Unpin for Decode<V, I>
impl<V, I> UnsafeUnpin for Decode<V, I>where
V: UnsafeUnpin,
I: UnsafeUnpin,
impl<V, I> UnwindSafe for Decode<V, I>where
V: UnwindSafe,
I: 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