Enum tokio_util::codec::AnyDelimiterCodecError[][src]

pub enum AnyDelimiterCodecError {
    MaxChunkLengthExceeded,
    Io(Error),
}

An error occured while encoding or decoding a chunk.

Variants

MaxChunkLengthExceeded

The maximum chunk length was exceeded.

Io(Error)

An IO error occurred.

Trait Implementations

impl Debug for AnyDelimiterCodecError[src]

impl Display for AnyDelimiterCodecError[src]

impl Error for AnyDelimiterCodecError[src]

impl From<Error> for AnyDelimiterCodecError[src]

Auto Trait Implementations

impl !RefUnwindSafe for AnyDelimiterCodecError[src]

impl Send for AnyDelimiterCodecError[src]

impl Sync for AnyDelimiterCodecError[src]

impl Unpin for AnyDelimiterCodecError[src]

impl !UnwindSafe for AnyDelimiterCodecError[src]

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> ToString for T where
    T: Display + ?Sized
[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.