pub struct SmtpReply { /* private fields */ }Expand description
Current custom SMTP reply.
Trait Implementations§
Source§impl SetErrorReply for SmtpReply
impl SetErrorReply for SmtpReply
Source§fn set_error_reply<I, T>(
&mut self,
rcode: &str,
xcode: Option<&str>,
message: I,
) -> Result<(), SmtpReplyError>where
I: IntoIterator<Item = T>,
T: IntoCString,
fn set_error_reply<I, T>(
&mut self,
rcode: &str,
xcode: Option<&str>,
message: I,
) -> Result<(), SmtpReplyError>where
I: IntoIterator<Item = T>,
T: IntoCString,
Configures an SMTP error reply.
impl Eq for SmtpReply
impl StructuralPartialEq for SmtpReply
Auto Trait Implementations§
impl Freeze for SmtpReply
impl RefUnwindSafe for SmtpReply
impl Send for SmtpReply
impl Sync for SmtpReply
impl Unpin for SmtpReply
impl UnwindSafe for SmtpReply
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