[][src]Crate tls_listener

Async TLS listener

This library is intended to automatically initiate a TLS connection for each new connection in a source of new streams (such as a listening TCP or unix domain socket).

Structs

Builder

Builder for TlsListener.

TlsListener

Wraps a Stream of connections (such as a TCP listener) so that each connection is itself encrypted using TLS.

Constants

DEFAULT_HANDSHAKE_TIMEOUT

Default timeout for the TLS handshake.

DEFAULT_MAX_HANDSHAKES

Default number of concurrent handshakes

Traits

AsyncAccept

Asynchronously accept connections.

Functions

builder

Create a new Builder for a TlsListener