Crate tokio_rustls[][src]

Asynchronous TLS/SSL streams for Tokio using Rustls.

Re-exports

pub use rustls;
pub use webpki;

Modules

client
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.

FailableAccept

Like Accept, but returns IO on failure.

FailableConnect

Like Connect, but returns IO on failure.

TlsAcceptor

A wrapper around a rustls::ServerConfig, providing an async accept method.

TlsConnector

A wrapper around a rustls::ClientConfig, providing an async connect method.

Enums

TlsStream

Unified TLS stream type