pub struct Smtps { /* private fields */ }Implementations§
Source§impl Smtps
impl Smtps
pub fn set_reply_to( &mut self, reply_to_name: &str, reply_to_address: &str, ) -> MailListResult<&mut Self>
pub fn domain(&self) -> &str
pub fn ehlo_name(&self) -> Option<&Cow<'_, str>>
pub fn from(&self) -> &Mailbox
pub fn reply_to(&self) -> Option<&Mailbox>
pub fn mailer(&self) -> &AsyncSmtpTransport<Tokio1Executor>
pub async fn send(&self, message: &EmailEnvelopeDetails) -> MailListResult<()>
pub async fn test_connection(&self) -> MailListResult<bool>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Smtps
impl !UnwindSafe for Smtps
impl Freeze for Smtps
impl Send for Smtps
impl Sync for Smtps
impl Unpin for Smtps
impl UnsafeUnpin for Smtps
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