Available on (crate features
native-tls
or rustls
) and (crate features async-std
or tokio
) and crate feature rustls
only.Expand description
Implementation for using Rustls with a runtime.
Structs§
- Rustls
Connector - An implementation of
TlsConnector
built withrustls
. - Rustls
Provider tokio
orasync-std
- A
TlsProvider
that usesrustls
. - Verifier 🔒
- A custom [
rustls::client::danger::ServerCertVerifier
]
Functions§
- ensure_
provider_ 🔒installed - Try to install a default crypto provider if none has been installed, so that Rustls can operate.