[−][src]Trait tls_api::TlsAcceptor
A builder for server-side TLS connections.
Associated Types
type Builder: TlsAcceptorBuilder<Acceptor = Self>
Required methods
fn accept<'a, S>(
&'a self,
stream: S
) -> Pin<Box<dyn Future<Output = Result<TlsStream<S>>> + Send + 'a>> where
S: AsyncRead + AsyncWrite + Debug + Unpin + Send + Sync + 'static,
&'a self,
stream: S
) -> Pin<Box<dyn Future<Output = Result<TlsStream<S>>> + Send + 'a>> where
S: AsyncRead + AsyncWrite + Debug + Unpin + Send + Sync + 'static,