pub type RustlsStream = TlsStream<TcpStream>;Expand description
A TcpStream wrapped by rustls
Aliased Type§
pub struct RustlsStream {
pub conn: ClientConnection,
pub sock: TcpStream,
}Fields§
§conn: ClientConnectionOur connection
sock: TcpStreamThe underlying transport, like a socket