pub trait TlsHandshakeExt: TlsHandshakeStream {
// Provided method
fn handshake(&mut self) -> TlsHandshakeFuture<'_, Self> ⓘ
where Self: Sized { ... }
}Available on crate feature
tls only.Expand description
Extension trait for TlsHandshakeStream.
Provided Methods§
Sourcefn handshake(&mut self) -> TlsHandshakeFuture<'_, Self> ⓘwhere
Self: Sized,
fn handshake(&mut self) -> TlsHandshakeFuture<'_, Self> ⓘwhere
Self: Sized,
Perform a TLS handshake.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.