pub enum SmtpReplyError {
InvalidReplyCode,
InvalidEnhancedStatusCode,
InvalidReplyText,
}Expand description
An error that occurs when configuring the SMTP reply.
Variants§
InvalidReplyCode
The SMTP reply code is invalid.
InvalidEnhancedStatusCode
The enhanced status code is invalid.
InvalidReplyText
The SMTP reply text is invalid.
Trait Implementations§
Source§impl Clone for SmtpReplyError
impl Clone for SmtpReplyError
Source§fn clone(&self) -> SmtpReplyError
fn clone(&self) -> SmtpReplyError
Returns a duplicate of the value. Read more
1.0.0 · 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 SmtpReplyError
impl Debug for SmtpReplyError
Source§impl Display for SmtpReplyError
impl Display for SmtpReplyError
Source§impl Error for SmtpReplyError
impl Error for SmtpReplyError
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 Hash for SmtpReplyError
impl Hash for SmtpReplyError
Source§impl PartialEq for SmtpReplyError
impl PartialEq for SmtpReplyError
impl Eq for SmtpReplyError
impl StructuralPartialEq for SmtpReplyError
Auto Trait Implementations§
impl Freeze for SmtpReplyError
impl RefUnwindSafe for SmtpReplyError
impl Send for SmtpReplyError
impl Sync for SmtpReplyError
impl Unpin for SmtpReplyError
impl UnwindSafe for SmtpReplyError
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