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(Response)
Transient SMTP error, 4xx reply code
Permanent(Response)
Permanent SMTP error, 5xx reply code
ResponseParsing(&'static str)
Error parsing a response
ChallengeParsing(DecodeError)
Error parsing a base64 string in response
Utf8Parsing(FromUtf8Error)
Error parsing UTF8in response
Client(&'static str)
Internal client error
Resolution
DNS resolution error
Io(Error)
IO error
Tls(Error)
TLS error
Parsing(Err)
Parsing error
Trait Implementations
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for Error
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl StdError for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
[src]
The lower-level cause of this error, if any. Read more