pub enum DecodeError<E> {
DecodeFingerprintError(DecodeFingerprintError<E>),
DecodeValueError(DecodeValueError<E>),
}
Expand description
The errors that can occur when decoding an LCM message.
Variants§
DecodeFingerprintError(DecodeFingerprintError<E>)
Error decoding fingerprint prior to message body
DecodeValueError(DecodeValueError<E>)
Error decoding a value in the message body
Trait Implementations§
Source§impl<E: Debug> Debug for DecodeError<E>
impl<E: Debug> Debug for DecodeError<E>
Source§impl<RE, WE> From<DecodeError<RE>> for CodecError<RE, WE>
impl<RE, WE> From<DecodeError<RE>> for CodecError<RE, WE>
Source§fn from(e: DecodeError<RE>) -> Self
fn from(e: DecodeError<RE>) -> Self
Converts to this type from the input type.
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<E> From<DecodeValueError<E>> for DecodeError<E>
impl<E> From<DecodeValueError<E>> for DecodeError<E>
Source§fn from(e: DecodeValueError<E>) -> Self
fn from(e: DecodeValueError<E>) -> Self
Converts to this type from the input type.
Source§impl<E: PartialEq> PartialEq for DecodeError<E>
impl<E: PartialEq> PartialEq for DecodeError<E>
impl<E> StructuralPartialEq for DecodeError<E>
Auto Trait Implementations§
impl<E> Freeze for DecodeError<E>where
E: Freeze,
impl<E> RefUnwindSafe for DecodeError<E>where
E: RefUnwindSafe,
impl<E> Send for DecodeError<E>where
E: Send,
impl<E> Sync for DecodeError<E>where
E: Sync,
impl<E> Unpin for DecodeError<E>where
E: Unpin,
impl<E> UnwindSafe for DecodeError<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