Expand description
Asynchronous TLS/SSL streams for Tokio using Rustls.
Re-exports§
Modules§
Structs§
- Accept
- Future returned from
TlsAcceptor::accept
which will resolve once the accept handshake has finished. - Connect
- Future returned from
TlsConnector::connect
which will resolve once the connection handshake has finished. - Failable
Accept - Like Accept, but returns
IO
on failure. - Failable
Connect - Like Connect, but returns
IO
on failure. - TlsAcceptor
- A wrapper around a
rustls::ServerConfig
, providing an asyncaccept
method. - TlsConnector
- A wrapper around a
rustls::ClientConfig
, providing an asyncconnect
method.
Enums§
- TlsStream
- Unified TLS stream type