Skip to main content

TlsStream

Type Alias TlsStream 

Source
pub type TlsStream = StreamOwned<ClientConnection, TcpStream>;
Expand description

The TLS stream type returned by WeirClient::connect_tls.

Aliased Type§

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

Fields§

§conn: ClientConnection

Our connection

§sock: TcpStream

The underlying transport, like a socket