Type Definition trust_dns::tls::TlsStream [] [src]

type TlsStream = TcpStream<TokioTlsStream<TokioTcpStream>>;

A TlsStream counterpart to the TcpStream which embeds a secure TlsStream

Methods

impl TlsStream
[src]

[src]

A builder for associating trust information to the TlsStream.

[src]

Initializes a TlsStream with an existing tokio_tls::TlsStream.

This is intended for use with a TlsListener and Incoming connections