Trait async_web_server::tls::TlsAcceptor
source · [−]pub trait TlsAcceptor: Unpin {
type Accept: Future<Output = Result<TlsStream<TcpStream>>>;
fn accept(&self, stream: TcpStream) -> Self::Accept;
}
pub trait TlsAcceptor: Unpin {
type Accept: Future<Output = Result<TlsStream<TcpStream>>>;
fn accept(&self, stream: TcpStream) -> Self::Accept;
}