pub trait ConnectConfigurationExt {
// Required method
fn connect_async<S: AsyncRead + AsyncWrite>(
self,
domain: &str,
stream: S,
) -> ConnectAsync<S> ⓘ;
}Expand description
Extension trait for ConnectConfiguration to allow connections to be initiated asynchronously.
Required Methods§
Sourcefn connect_async<S: AsyncRead + AsyncWrite>(
self,
domain: &str,
stream: S,
) -> ConnectAsync<S> ⓘ
fn connect_async<S: AsyncRead + AsyncWrite>( self, domain: &str, stream: S, ) -> ConnectAsync<S> ⓘ
Asynchronously initiate the SSL connection
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".