pub struct Smtps<'a> { /* private fields */ }Implementations§
Source§impl<'a> Smtps<'a>
impl<'a> Smtps<'a>
pub fn from(&self) -> &Mailbox
pub fn reply_to(&self) -> Option<&Mailbox>
pub fn hello_name(&self) -> Option<&str>
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<'a> !RefUnwindSafe for Smtps<'a>
impl<'a> !UnwindSafe for Smtps<'a>
impl<'a> Freeze for Smtps<'a>
impl<'a> Send for Smtps<'a>
impl<'a> Sync for Smtps<'a>
impl<'a> Unpin for Smtps<'a>
impl<'a> UnsafeUnpin for Smtps<'a>
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