Enum check_if_email_exists::smtp::SmtpError
source · [−]pub enum SmtpError {
SocksError(SocksError),
HeloError(AsyncSmtpError),
ConnectError(AsyncSmtpError),
ConnectWithStreamError(AsyncSmtpError),
MailFromError(AsyncSmtpError),
RcptToError(AsyncSmtpError),
CloseError(AsyncSmtpError),
SmtpError(AsyncSmtpError),
TimeoutError(TimeoutError),
YahooError(YahooError),
}
Expand description
Error occured connecting to this email server via SMTP.
Variants
SocksError(SocksError)
Error if we’re using a SOCKS5 proxy.
HeloError(AsyncSmtpError)
Error when communicating with SMTP server, HELO phase.
ConnectError(AsyncSmtpError)
Error when communicating with SMTP server, connect phase.
ConnectWithStreamError(AsyncSmtpError)
Error when communicating with SMTP server, connect_with_stream phase.
MailFromError(AsyncSmtpError)
Error when communicating with SMTP server, MAIL FROM phase.
RcptToError(AsyncSmtpError)
Error when communicating with SMTP server, RCPT TO phase.
CloseError(AsyncSmtpError)
Error when communicating with SMTP server, close phase.
SmtpError(AsyncSmtpError)
SMTP errors have been broken up into 6 phases, see all Smtp*Error
s
Error when communicating with SMTP server.
TimeoutError(TimeoutError)
Time-out error.
YahooError(YahooError)
Error when verifying a Yahoo email.
Trait Implementations
sourceimpl From<SocksError> for SmtpError
impl From<SocksError> for SmtpError
sourcefn from(error: SocksError) -> Self
fn from(error: SocksError) -> Self
Performs the conversion.
sourceimpl From<TimeoutError> for SmtpError
impl From<TimeoutError> for SmtpError
sourcefn from(error: TimeoutError) -> Self
fn from(error: TimeoutError) -> Self
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for SmtpError
impl Send for SmtpError
impl Sync for SmtpError
impl Unpin for SmtpError
impl !UnwindSafe for SmtpError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more