[][src]Enum async_imap::error::ParseError

pub enum ParseError {
    Invalid(Vec<u8>),
    Unexpected(String),
    Authentication(StringOption<DecodeError>),
    DataNotUtf8(Vec<u8>, Utf8Error),
}

An error occured while trying to parse a server response.

Variants

Invalid(Vec<u8>)

Indicates an error parsing the status response. Such as OK, NO, and BAD.

Unexpected(String)

An unexpected response was encountered.

Authentication(StringOption<DecodeError>)

The client could not find or decode the server's authentication challenge.

DataNotUtf8(Vec<u8>, Utf8Error)

The client received data that was not UTF-8 encoded.

Trait Implementations

impl Debug for ParseError[src]

impl Display for ParseError[src]

impl Error for ParseError[src]

impl From<ParseError> for Error[src]

Auto Trait Implementations

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.