Type Alias tcp_stream::RustlsStream

source ·
pub type RustlsStream = TlsStream<TcpStream>;
Expand description

A TcpStream wrapped by rustls

Aliased Type§

struct RustlsStream {
    pub conn: ClientConnection,
    pub sock: TcpStream,
}

Fields§

§conn: ClientConnection

Our connection

§sock: TcpStream

The underlying transport, like a socket