pub enum SendSmtpCommandError {
Eof,
ParseResponse(String),
}Expand description
Failure causes raised by SendSmtpCommand.
Variants§
Trait Implementations§
Source§impl Clone for SendSmtpCommandError
impl Clone for SendSmtpCommandError
Source§fn clone(&self) -> SendSmtpCommandError
fn clone(&self) -> SendSmtpCommandError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SendSmtpCommandError
impl Debug for SendSmtpCommandError
Source§impl Display for SendSmtpCommandError
impl Display for SendSmtpCommandError
Source§impl Error for SendSmtpCommandError
impl Error for SendSmtpCommandError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<SendSmtpCommandError> for SmtpAuthAnonymousError
impl From<SendSmtpCommandError> for SmtpAuthAnonymousError
Source§fn from(source: SendSmtpCommandError) -> Self
fn from(source: SendSmtpCommandError) -> Self
Converts to this type from the input type.
Source§impl From<SendSmtpCommandError> for SmtpAuthLoginError
impl From<SendSmtpCommandError> for SmtpAuthLoginError
Source§fn from(source: SendSmtpCommandError) -> Self
fn from(source: SendSmtpCommandError) -> Self
Converts to this type from the input type.
Source§impl From<SendSmtpCommandError> for SmtpAuthOauthbearerError
impl From<SendSmtpCommandError> for SmtpAuthOauthbearerError
Source§fn from(source: SendSmtpCommandError) -> Self
fn from(source: SendSmtpCommandError) -> Self
Converts to this type from the input type.
Source§impl From<SendSmtpCommandError> for SmtpAuthPlainError
impl From<SendSmtpCommandError> for SmtpAuthPlainError
Source§fn from(source: SendSmtpCommandError) -> Self
fn from(source: SendSmtpCommandError) -> Self
Converts to this type from the input type.
Source§impl From<SendSmtpCommandError> for SmtpAuthScramSha256Error
Available on crate feature scram only.
impl From<SendSmtpCommandError> for SmtpAuthScramSha256Error
Available on crate feature
scram only.Source§fn from(source: SendSmtpCommandError) -> Self
fn from(source: SendSmtpCommandError) -> Self
Converts to this type from the input type.
Source§impl From<SendSmtpCommandError> for SmtpAuthXoauth2Error
impl From<SendSmtpCommandError> for SmtpAuthXoauth2Error
Source§fn from(source: SendSmtpCommandError) -> Self
fn from(source: SendSmtpCommandError) -> Self
Converts to this type from the input type.
Source§impl From<SendSmtpCommandError> for SmtpDataError
impl From<SendSmtpCommandError> for SmtpDataError
Source§fn from(source: SendSmtpCommandError) -> Self
fn from(source: SendSmtpCommandError) -> Self
Converts to this type from the input type.
Source§impl From<SendSmtpCommandError> for SmtpHeloError
impl From<SendSmtpCommandError> for SmtpHeloError
Source§fn from(source: SendSmtpCommandError) -> Self
fn from(source: SendSmtpCommandError) -> Self
Converts to this type from the input type.
Source§impl From<SendSmtpCommandError> for SmtpMailError
impl From<SendSmtpCommandError> for SmtpMailError
Source§fn from(source: SendSmtpCommandError) -> Self
fn from(source: SendSmtpCommandError) -> Self
Converts to this type from the input type.
Source§impl From<SendSmtpCommandError> for SmtpNoopError
impl From<SendSmtpCommandError> for SmtpNoopError
Source§fn from(source: SendSmtpCommandError) -> Self
fn from(source: SendSmtpCommandError) -> Self
Converts to this type from the input type.
Source§impl From<SendSmtpCommandError> for SmtpQuitError
impl From<SendSmtpCommandError> for SmtpQuitError
Source§fn from(source: SendSmtpCommandError) -> Self
fn from(source: SendSmtpCommandError) -> Self
Converts to this type from the input type.
Source§impl From<SendSmtpCommandError> for SmtpRcptError
impl From<SendSmtpCommandError> for SmtpRcptError
Source§fn from(source: SendSmtpCommandError) -> Self
fn from(source: SendSmtpCommandError) -> Self
Converts to this type from the input type.
Source§impl From<SendSmtpCommandError> for SmtpRsetError
impl From<SendSmtpCommandError> for SmtpRsetError
Source§fn from(source: SendSmtpCommandError) -> Self
fn from(source: SendSmtpCommandError) -> Self
Converts to this type from the input type.
Source§impl From<SendSmtpCommandError> for SmtpStartTlsError
impl From<SendSmtpCommandError> for SmtpStartTlsError
Source§fn from(source: SendSmtpCommandError) -> Self
fn from(source: SendSmtpCommandError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SendSmtpCommandError
impl RefUnwindSafe for SendSmtpCommandError
impl Send for SendSmtpCommandError
impl Sync for SendSmtpCommandError
impl Unpin for SendSmtpCommandError
impl UnsafeUnpin for SendSmtpCommandError
impl UnwindSafe for SendSmtpCommandError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> OrderedSeq<'_, T> for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.