Trait samotop_delivery::smtp::net::Connector [−][src]
Associated Types
Loading content...Required methods
fn connect<'s, 'c, 'a, C: ConnectionConfiguration>(
&'s self,
configuration: &'c C
) -> SyncFuture<'a, Result<Self::Stream>> where
's: 'a,
'c: 'a,
[src]
&'s self,
configuration: &'c C
) -> SyncFuture<'a, Result<Self::Stream>> where
's: 'a,
'c: 'a,
This provider of connectivity takes care of resolving given address (which could be an IP, FQDN, URL...), establishing a connection and enabling (or not) TLS upgrade.
Implementors
impl<TLS> Connector for TcpConnector<TLS> where
TLS: TlsProvider + Sync + Send + 'static,
[src]
TLS: TlsProvider + Sync + Send + 'static,
type Stream = TlsCapable
fn connect<'s, 'c, 'a, C: ConnectionConfiguration + Sync>(
&'s self,
configuration: &'c C
) -> SyncFuture<'a, Result<Self::Stream>> where
's: 'a,
'c: 'a,
[src]
&'s self,
configuration: &'c C
) -> SyncFuture<'a, Result<Self::Stream>> where
's: 'a,
'c: 'a,
This provider of connectivity takes care of resolving given address (which could be an IP, FQDN, URL...), establishing a connection and enabling (or not) TLS upgrade.
impl<TLS> Connector for UnixConnector<TLS> where
TLS: TlsProvider + Sync + Send + 'static,
[src]
TLS: TlsProvider + Sync + Send + 'static,
type Stream = TlsCapable
fn connect<'s, 'c, 'a, C: ConnectionConfiguration + Sync>(
&'s self,
configuration: &'c C
) -> SyncFuture<'a, Result<Self::Stream>> where
's: 'a,
'c: 'a,
[src]
&'s self,
configuration: &'c C
) -> SyncFuture<'a, Result<Self::Stream>> where
's: 'a,
'c: 'a,
This provider of connectivity takes care of resolving given address (which could be an IP, FQDN, URL...), establishing a connection and enabling (or not) TLS upgrade.