Enum rust_inbox::error::Error [] [src]

pub enum Error {
    Io(IoError),
    Ssl(SslError<TcpStream>),
    BadResponse(Vec<String>),
    NoResponse(Vec<String>),
    Parse(ParseError),
    Append,
}

A set of errors that can occur in the IMAP client

Variants

An io::Error that occurred while trying to read or write to a network stream.

An error from the openssl library.

A BAD response from the IMAP server.

A NO response from the IMAP server.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl From<IoError> for Error
[src]

[src]

Performs the conversion.

impl From<SslError<TcpStream>> for Error
[src]

[src]

Performs the conversion.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

[src]

A short description of the error. Read more

[src]

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