Enum new_tokio_smtp::error::ConnectingFailed
source · pub enum ConnectingFailed {
Io(Error),
Setup(LogicError),
Auth(LogicError),
}
Expand description
error representing that creating a connection failed
Variants§
Io(Error)
an I/O-Error ocurred while setting up the connection
Setup(LogicError)
some non-io, non auth part failed during setup
e.g. sending EHLO returned an error code
Auth(LogicError)
the authentication command failed
Trait Implementations§
source§impl Debug for ConnectingFailed
impl Debug for ConnectingFailed
source§impl Display for ConnectingFailed
impl Display for ConnectingFailed
source§impl Error for ConnectingFailed
impl Error for ConnectingFailed
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl From<ConnectingFailed> for GeneralError
impl From<ConnectingFailed> for GeneralError
source§fn from(err: ConnectingFailed) -> Self
fn from(err: ConnectingFailed) -> Self
Converts to this type from the input type.