Crate tokio_rustls[][src]

Asynchronous TLS/SSL streams for Tokio using Rustls.

Structs

AcceptAsync

Future returned from ServerConfigExt::accept_async which will resolve once the accept handshake has finished.

ConnectAsync

Future returned from ClientConfigExt::connect_async which will resolve once the connection handshake has finished.

TlsStream

A wrapper around an underlying raw stream which implements the TLS or SSL protocol.

Traits

ClientConfigExt

Extension trait for the Arc<ClientConfig> type in the rustls crate.

ServerConfigExt

Extension trait for the Arc<ServerConfig> type in the rustls crate.

Functions

accept_async_with_session
connect_async_with_session