Module tokio_rustls
Expand description
Full Re-export of the tokio-rustls crate.
Modules§
Structs§
- Accept
- Future returned from
TlsAcceptor::acceptwhich will resolve once the accept handshake has finished. - Connect
- Future returned from
TlsConnector::connectwhich will resolve once the connection handshake has finished. - Fallible
Accept - Like Accept, but returns
IOon failure. - Fallible
Connect - Like Connect, but returns
IOon failure. - Lazy
Config Acceptor - Start
Handshake - An incoming connection received through
LazyConfigAcceptor. - TlsAcceptor
- A wrapper around a
rustls::ServerConfig, providing an asyncacceptmethod. - TlsConnector
- A wrapper around a
rustls::ClientConfig, providing an asyncconnectmethod. - TlsConnector
With Alpn
Enums§
- TlsStream
- Unified TLS stream type