pub enum DecodeFingerprintError<E> {
InvalidFingerprint(u64),
ReaderError(E),
}
Expand description
The errors that can occur when decoding the LCM type hash / fingerprint for a message.
Variants§
InvalidFingerprint(u64)
The fingerprint value found did not match the expected value for the message type of interest.
ReaderError(E)
The underlying StreamingReader encountered an error.
Trait Implementations§
Source§impl<E: Debug> Debug for DecodeFingerprintError<E>
impl<E: Debug> Debug for DecodeFingerprintError<E>
Source§impl<E> From<DecodeFingerprintError<E>> for DecodeError<E>
impl<E> From<DecodeFingerprintError<E>> for DecodeError<E>
Source§fn from(e: DecodeFingerprintError<E>) -> Self
fn from(e: DecodeFingerprintError<E>) -> Self
Converts to this type from the input type.
Source§impl<RE, WE> From<DecodeFingerprintError<RE>> for CodecError<RE, WE>
impl<RE, WE> From<DecodeFingerprintError<RE>> for CodecError<RE, WE>
Source§fn from(e: DecodeFingerprintError<RE>) -> Self
fn from(e: DecodeFingerprintError<RE>) -> Self
Converts to this type from the input type.
Source§impl<E> From<E> for DecodeFingerprintError<E>
impl<E> From<E> for DecodeFingerprintError<E>
Source§impl<E: PartialEq> PartialEq for DecodeFingerprintError<E>
impl<E: PartialEq> PartialEq for DecodeFingerprintError<E>
impl<E> StructuralPartialEq for DecodeFingerprintError<E>
Auto Trait Implementations§
impl<E> Freeze for DecodeFingerprintError<E>where
E: Freeze,
impl<E> RefUnwindSafe for DecodeFingerprintError<E>where
E: RefUnwindSafe,
impl<E> Send for DecodeFingerprintError<E>where
E: Send,
impl<E> Sync for DecodeFingerprintError<E>where
E: Sync,
impl<E> Unpin for DecodeFingerprintError<E>where
E: Unpin,
impl<E> UnwindSafe for DecodeFingerprintError<E>where
E: 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