Available on crate feature
server
only.Expand description
Commonly used listeners.
Modules
acme
acme
Types for ACME.
Structs
An IO type for BoxAcceptor.
An owned dynamically typed Listener for use in cases where you can’t
statically type your result or need to add some indirection.
Listener for the
Listener::combine
and AcceptorExt::combine
method.A handshake stream for tls.
NativeTlsAcceptor
native-tls
A TLS or SSL protocol acceptor with
native_tls
.NativeTlsConfig
native-tls
Native TLS Config.
NativeTlsListener
native-tls
A wrapper around an underlying listener which implements the TLS or SSL
protocol with
native-tls
.OpensslTlsAcceptor
openssl-tls
A TLS or SSL protocol acceptor with
native_tls
.Openssl configuration contains certificate’s chain and private key.
OpensslTlsListener
openssl-tls
A wrapper around an underlying listener which implements the TLS or SSL
protocol with
openssl-tls
.RustlsAcceptor
rustls
A TLS or SSL protocol acceptor with
rustls
.RustlsCertificate
rustls
Rustls certificate
RustlsConfig
rustls
Rustls Config.
RustlsListener
rustls
A wrapper around an underlying listener which implements the TLS or SSL
protocol with
rustls
.A acceptor that accepts TCP connections.
A TCP listener.
UnixAcceptorUnix
A acceptor that accepts connections.
UnixListenerUnix
A Unix domain socket listener.
Enums
A IO stream for CombinedAcceptor.
Traits
Represents a acceptor type.
Extension trait for
Acceptor
.Represents a type that can convert into tls config stream.
Represents a listener that can be listens for incoming connections.
Type Definitions
An owned dynamically typed Acceptor for use in cases where you can’t
statically type your result or need to add some indirection.