Crate async_tls

Source
Expand description

Asynchronous TLS/SSL streams for async-std and AsyncRead/AsyncWrite sockets using rustls.

Modules§

client
The client end of a TLS connection.
server
The server end of a TLS connection.

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.
TlsAcceptor
The TLS accepting part. The acceptor drives the server side of the TLS handshake process. It works on any asynchronous stream.
TlsConnector
The TLS connecting part. The acceptor drives the client side of the TLS handshake process. It works on any asynchronous stream.