pub enum EnvelopedDecoderError<T> {
UnknownTypeId,
Payload(T),
}
Expand description
DecoderError for typed transactions.
Variants§
Trait Implementations§
Source§impl<T: Clone> Clone for EnvelopedDecoderError<T>
impl<T: Clone> Clone for EnvelopedDecoderError<T>
Source§fn clone(&self) -> EnvelopedDecoderError<T>
fn clone(&self) -> EnvelopedDecoderError<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for EnvelopedDecoderError<T>
impl<T: Debug> Debug for EnvelopedDecoderError<T>
Source§impl<T> From<T> for EnvelopedDecoderError<T>
impl<T> From<T> for EnvelopedDecoderError<T>
Source§impl<T: PartialEq> PartialEq for EnvelopedDecoderError<T>
impl<T: PartialEq> PartialEq for EnvelopedDecoderError<T>
Source§fn eq(&self, other: &EnvelopedDecoderError<T>) -> bool
fn eq(&self, other: &EnvelopedDecoderError<T>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<T: Eq> Eq for EnvelopedDecoderError<T>
impl<T> StructuralPartialEq for EnvelopedDecoderError<T>
Auto Trait Implementations§
impl<T> Freeze for EnvelopedDecoderError<T>where
T: Freeze,
impl<T> RefUnwindSafe for EnvelopedDecoderError<T>where
T: RefUnwindSafe,
impl<T> Send for EnvelopedDecoderError<T>where
T: Send,
impl<T> Sync for EnvelopedDecoderError<T>where
T: Sync,
impl<T> Unpin for EnvelopedDecoderError<T>where
T: Unpin,
impl<T> UnwindSafe for EnvelopedDecoderError<T>where
T: 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