Struct tls_api_security_framework::TlsAcceptor [−][src]
pub struct TlsAcceptor(pub SecureTransportTlsAcceptorBuilder);
Tuple Fields
0: SecureTransportTlsAcceptorBuilder
Trait Implementations
type Builder = TlsAcceptorBuilder
type Builder = TlsAcceptorBuilder
Type of the builder for this acceptor.
Type of the underlying acceptor.
type TlsStream = TlsStream<AsyncSocketBox>
type TlsStream = TlsStream<AsyncSocketBox>
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 ALPN negotiation.
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
New builder from given server key. Read more
fn accept_with_socket<'a, S>(
&'a self,
stream: S
) -> BoxFuture<'a, Result<TlsStreamWithSocket<S>>> where
S: AsyncSocket,
fn accept_with_socket<'a, S>(
&'a self,
stream: S
) -> BoxFuture<'a, Result<TlsStreamWithSocket<S>>> where
S: AsyncSocket,
Accept a connection. Read more
fn accept_impl_tls_stream<'a, S>(
&'a self,
stream: S
) -> BoxFuture<'a, Result<Self::TlsStream>> where
S: AsyncSocket,
fn accept_impl_tls_stream<'a, S>(
&'a self,
stream: S
) -> BoxFuture<'a, Result<Self::TlsStream>> where
S: AsyncSocket,
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