hyperdriver::stream::tls

Trait TlsHandshakeExt

Source
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§

Source

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.

Implementors§