[][src]Enum rust_lcm_codec::EncodeValueError

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

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

Variants

ArrayLengthMismatch(&'static str)

The user attempted to write more or fewer items into an array than the array contained.

InvalidValue(&'static str)

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

WriterError(E)

The underlying StreamingWriter encountered an error.

Trait Implementations

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

impl<E: Eq> Eq for EncodeValueError<E>[src]

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

impl<E> From<EncodeValueError<E>> for EncodeError<E>[src]

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

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

impl<E> StructuralEq for EncodeValueError<E>[src]

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

Auto Trait Implementations

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

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

impl<E> Unpin for EncodeValueError<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.