pub enum SmtpClientError {
Io(Error),
MessageSend(SmtpMessageSendError),
Inner(SmtpClientStdError),
}Available on crate features
client and smtp only.Expand description
Errors surfaced by SmtpClientStd while running a coroutine.
Variants§
Trait Implementations§
Source§impl Debug for SmtpClientError
impl Debug for SmtpClientError
Source§impl Display for SmtpClientError
impl Display for SmtpClientError
Source§impl Error for SmtpClientError
impl Error for SmtpClientError
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<Error> for SmtpClientError
impl From<Error> for SmtpClientError
Source§impl From<SmtpClientError> for EmailClientStdError
Available on crate features imap or jmap or m2dir or maildir or smtp only.
impl From<SmtpClientError> for EmailClientStdError
Available on crate features
imap or jmap or m2dir or maildir or smtp only.Source§fn from(source: SmtpClientError) -> Self
fn from(source: SmtpClientError) -> Self
Converts to this type from the input type.
Source§impl From<SmtpClientStdError> for SmtpClientError
impl From<SmtpClientStdError> for SmtpClientError
Source§fn from(source: InnerSmtpClientStdError) -> Self
fn from(source: InnerSmtpClientStdError) -> Self
Converts to this type from the input type.
Source§impl From<SmtpMessageSendError> for SmtpClientError
impl From<SmtpMessageSendError> for SmtpClientError
Source§fn from(source: SmtpMessageSendError) -> Self
fn from(source: SmtpMessageSendError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SmtpClientError
impl !UnwindSafe for SmtpClientError
impl Freeze for SmtpClientError
impl Send for SmtpClientError
impl Sync for SmtpClientError
impl Unpin for SmtpClientError
impl UnsafeUnpin for SmtpClientError
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
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.