Skip to main content

Module tokio_rustls

Module tokio_rustls 

Available on crate feature rustls only.
Expand description

Full Re-export of the tokio-rustls crate.

Modules§

client
rustls
Rustls - a modern TLS library
server

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.
FallibleAccept
Like Accept, but returns IO on failure.
FallibleConnect
Like Connect, but returns IO on failure.
LazyConfigAcceptor
A future for reading a ClientHello from io without committing to a ServerConfig.
StartHandshake
An incoming connection received through LazyConfigAcceptor.
TlsAcceptor
A wrapper around a rustls::ServerConfig, providing an async accept method.
TlsConnector
A wrapper around a rustls::ClientConfig, providing an async connect method.
TlsConnectorWithAlpn

Enums§

TlsStream
Unified TLS stream type