Trait tls_api::TlsAcceptor
[−]
[src]
pub trait TlsAcceptor: Sized + Send + 'static { fn accept<S>(&self, stream: S) -> Result<TlsStream<S>, HandshakeError<S>>
where
S: Read + Write + Debug + 'static; }
Required Methods
fn accept<S>(&self, stream: S) -> Result<TlsStream<S>, HandshakeError<S>> where
S: Read + Write + Debug + 'static,
S: Read + Write + Debug + 'static,