[][src]Enum rust_lcm_codec::CodecError

pub enum CodecError<RE, WE> {
    DecodeError(DecodeError<RE>),
    EncodeError(EncodeError<WE>),
}

Catch-all error for anything that can go wrong encoding or decoding an LCM message.

Variants

DecodeError(DecodeError<RE>)

Error decoding (reading) an LCM message

EncodeError(EncodeError<WE>)

Error encoding (writing) an LCM message

Trait Implementations

impl<RE: Debug, WE: Debug> Debug for CodecError<RE, WE>[src]

impl<RE, WE> From<DecodeError<RE>> for CodecError<RE, WE>[src]

impl<RE, WE> From<DecodeFingerprintError<RE>> for CodecError<RE, WE>[src]

impl<RE, WE> From<DecodeValueError<RE>> for CodecError<RE, WE>[src]

impl<RE, WE> From<EncodeError<WE>> for CodecError<RE, WE>[src]

impl<RE, WE> From<EncodeFingerprintError<WE>> for CodecError<RE, WE>[src]

impl<RE, WE> From<EncodeValueError<WE>> for CodecError<RE, WE>[src]

impl<RE: PartialEq, WE: PartialEq> PartialEq<CodecError<RE, WE>> for CodecError<RE, WE>[src]

impl<RE, WE> StructuralPartialEq for CodecError<RE, WE>[src]

Auto Trait Implementations

impl<RE, WE> Send for CodecError<RE, WE> where
    RE: Send,
    WE: Send

impl<RE, WE> Sync for CodecError<RE, WE> where
    RE: Sync,
    WE: Sync

impl<RE, WE> Unpin for CodecError<RE, WE> where
    RE: Unpin,
    WE: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.