Enum lettre::smtp::error::Error [] [src]

pub enum Error {
    Transient(Response),
    Permanent(Response),
    ResponseParsing(&'static str),
    ChallengeParsing(DecodeError),
    Utf8Parsing(FromUtf8Error),
    Client(&'static str),
    Resolution,
    Io(Error),
    Tls(Error),
    Parsing(Err),
}

An enum of all error kinds.

Variants

Transient SMTP error, 4xx reply code

RFC 5321, section 4.2.1

Permanent SMTP error, 5xx reply code

RFC 5321, section 4.2.1

Error parsing a response

Error parsing a base64 string in response

Error parsing UTF8in response

Internal client error

DNS resolution error

IO error

TLS error

Parsing error

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

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

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<Err> for Error
[src]

[src]

Performs the conversion.

impl From<Response> for Error
[src]

[src]

Performs the conversion.

impl From<&'static str> for Error
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error