Expand description
Asynchronous TLS/SSL streams for async-std and AsyncRead/AsyncWrite sockets using rustls.
Modules§
Structs§
- Accept
- Future returned from
TlsAcceptor::acceptwhich will resolve once the accept handshake has finished. - Connect
- Future returned from
TlsConnector::connectwhich 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.