[][src]Enum imap::error::ParseError

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

An error occured while trying to parse a server response.

Variants

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

An unexpected response was encountered.

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

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

Trait Implementations

impl From<ParseError> for Error
[src]

impl Display for ParseError
[src]

impl Debug for ParseError
[src]

impl Error for ParseError
[src]

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

Auto Trait Implementations

impl Send for ParseError

impl Sync for ParseError

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]