[][src]Enum rust_lcm_codec::DecodeValueError

pub enum DecodeValueError<E> {
    ArrayLengthMismatch(&'static str),
    InvalidValue(&'static str),
    ReaderError(E),
}

The errors that can occur when decoding a value in the body of an LCM message.

Variants

ArrayLengthMismatch(&'static str)

The user attempted to read more or fewer items out of an array than the array contained.

InvalidValue(&'static str)

The value attempted to be decoded was invalid in some way.

ReaderError(E)

The underlying StreamingReader encountered an error.

Trait Implementations

impl<E: Debug> Debug for DecodeValueError<E>[src]

impl<E> From<DecodeValueError<E>> for DecodeError<E>[src]

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

impl<E> From<E> for DecodeValueError<E>[src]

impl<E: PartialEq> PartialEq<DecodeValueError<E>> for DecodeValueError<E>[src]

impl<E> StructuralPartialEq for DecodeValueError<E>[src]

Auto Trait Implementations

impl<E> Send for DecodeValueError<E> where
    E: Send

impl<E> Sync for DecodeValueError<E> where
    E: Sync

impl<E> Unpin for DecodeValueError<E> where
    E: 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<!> for T[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.