Enum async_codec::DecodeError [] [src]

pub enum DecodeError<E> {
    ReaderError(FutIoErr),
    DataError(E),
}

An error that occured during decoding.

Variants

An error propagated from the underlying reader.

An error describing why the read data could not be decoded into a value.

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

impl<E: Display> Display for DecodeError<E>
[src]

[src]

Formats the value using the given formatter. Read more

impl<E: Error> Error for DecodeError<E>
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

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

[src]

Performs the conversion.

Auto Trait Implementations

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

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