Expand description
Asynchronous TLS/SSL streams for futures 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. - Fallible
Accept - Like Accept, but returns
IO
on failure. - Fallible
Connect - Like Connect, but returns
IO
on failure. - Lazy
Config Acceptor - Start
Handshake - 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