[−][src]Trait lettre::transport::smtp::AsyncSmtpConnector
This is supported on crate feature
smtp-transport
only.Required methods
#[must_use]fn connect<'life0, 'life1, 'life2, 'async_trait>(
hostname: &'life0 str,
port: u16,
hello_name: &'life1 ClientId,
tls: &'life2 Tls
) -> Pin<Box<dyn Future<Output = Result<AsyncSmtpConnection, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
[src]
hostname: &'life0 str,
port: u16,
hello_name: &'life1 ClientId,
tls: &'life2 Tls
) -> Pin<Box<dyn Future<Output = Result<AsyncSmtpConnection, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Implementors
impl AsyncSmtpConnector for AsyncStd1Connector
[src]
fn connect<'life0, 'life1, 'life2, 'async_trait>(
hostname: &'life0 str,
port: u16,
hello_name: &'life1 ClientId,
tls: &'life2 Tls
) -> Pin<Box<dyn Future<Output = Result<AsyncSmtpConnection, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
[src]
hostname: &'life0 str,
port: u16,
hello_name: &'life1 ClientId,
tls: &'life2 Tls
) -> Pin<Box<dyn Future<Output = Result<AsyncSmtpConnection, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
impl AsyncSmtpConnector for Tokio1Connector
[src]
fn connect<'life0, 'life1, 'life2, 'async_trait>(
hostname: &'life0 str,
port: u16,
hello_name: &'life1 ClientId,
tls: &'life2 Tls
) -> Pin<Box<dyn Future<Output = Result<AsyncSmtpConnection, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
[src]
hostname: &'life0 str,
port: u16,
hello_name: &'life1 ClientId,
tls: &'life2 Tls
) -> Pin<Box<dyn Future<Output = Result<AsyncSmtpConnection, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
impl AsyncSmtpConnector for Tokio02Connector
[src]
fn connect<'life0, 'life1, 'life2, 'async_trait>(
hostname: &'life0 str,
port: u16,
hello_name: &'life1 ClientId,
tls: &'life2 Tls
) -> Pin<Box<dyn Future<Output = Result<AsyncSmtpConnection, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
[src]
hostname: &'life0 str,
port: u16,
hello_name: &'life1 ClientId,
tls: &'life2 Tls
) -> Pin<Box<dyn Future<Output = Result<AsyncSmtpConnection, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,