Module tls

Source
Expand description

Traits used to describe TLS connections and objects that can create them.

Structs§

NativeTlsProvider(native-tls or rustls) and (async-std or tokio) and native-tls and (tokio or async-std)
A TlsProvider that uses native_tls.
RustlsProvider(native-tls or rustls) and (async-std or tokio) and rustls and (tokio or async-std)
A TlsProvider that uses rustls.

Traits§

CertifiedConn
An object with a peer certificate: typically a TLS connection.
TlsConnector
An object that knows how to wrap a TCP connection (where the type of said TCP connection is S) with TLS.