pub struct TlsAcceptor(pub TlsAcceptor);

Tuple Fields

0: TlsAcceptor

Trait Implementations

Server side of native-tls does not support ALPN, because security-framework does not support it.

Type of the builder for this acceptor.

Type of the underlying acceptor.

crate::TlsStream<tls_api::AsyncSocketBox>. Read more

Get the underlying acceptor. Read more

Whether this acceptor type is implemented. Read more

Whether this implementation supports construction of acceptor using a pair of a DER certificate and file pair. Read more

Whether this implementation supports construction of acceptor using PKCS #12 file. Read more

Implementation info.

New builder from given server key. Read more

Accept a connection. Read more

Accept a connection. Read more

Dynamic (without type parameter) version of the acceptor. Read more

Dynamic (without type parameter) version of the connector.

New builder from given server key. Read more

Accept a connection. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.