Crate futures_rustls

Source
Expand description

Asynchronous TLS/SSL streams for futures using Rustls.

Re-exports§

pub use pki_types;
pub use rustls;

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.
FallibleAccept
Like Accept, but returns IO on failure.
FallibleConnect
Like Connect, but returns IO on failure.
LazyConfigAcceptor
StartHandshake
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