Trait tokio_rustls::ClientConfigExt [−][src]
pub trait ClientConfigExt: Sealed { fn connect_async<S>(&self, domain: DNSNameRef, stream: S) -> ConnectAsync<S>
where
S: Read + Write; }
Extension trait for the Arc<ClientConfig>
type in the rustls
crate.
Required Methods
fn connect_async<S>(&self, domain: DNSNameRef, stream: S) -> ConnectAsync<S> where
S: Read + Write,
S: Read + Write,
Implementations on Foreign Types
impl ClientConfigExt for Arc<ClientConfig>
[src]
impl ClientConfigExt for Arc<ClientConfig>
fn connect_async<S>(&self, domain: DNSNameRef, stream: S) -> ConnectAsync<S> where
S: Read + Write,
[src]
fn connect_async<S>(&self, domain: DNSNameRef, stream: S) -> ConnectAsync<S> where
S: Read + Write,