trust_dns_proto::rustls

Module tls_client_stream

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

DNS over TLS client implementation for Rustls

Functions§

tls_client_connect
Creates a new TlsStream to the specified name_server
tls_client_connect_with_bind_addr
Creates a new TlsStream to the specified name_server connecting from a specific address.
tls_client_connect_with_future
Creates a new TlsStream to the specified name_server connecting from a specific address.

Type Aliases§

TlsClientStream
Type of TlsClientStream used with Rustls