trust_dns_proto::rustls

Module tls_stream

Source
Available on crate feature dns-over-rustls only.
Expand description

DNS over TLS I/O stream implementation for Rustls

Functions§

tls_connect
Creates a new TlsStream to the specified name_server
tls_connect_with_bind_addr
Creates a new TlsStream to the specified name_server connecting from a specific address.
tls_connect_with_future
Creates a new TlsStream to the specified name_server connecting from a specific address.
tls_from_stream
Initializes a TlsStream with an existing tokio_tls::TlsStream.

Type Aliases§

TlsStream
Predefined type for abstracting the base I/O TlsStream with TokioTls
TokioTlsClientStream
Predefined type for abstracting the TlsClientStream with TokioTls
TokioTlsServerStream
Predefined type for abstracting the TlsServerStream with TokioTls