[−][src]Trait izanami::server::conn::Acceptor
A trait that represents the conversion of asynchronous I/Os.
Typically, the implementors of this trait establish a TLS session.
Associated Types
type Accepted: AsyncRead + AsyncWrite
Required methods
fn accept(&self, io: T) -> Self::Accepted
Converts the supplied I/O object into an Accepted
.
The returned I/O from this method includes the handshake process, and the process will be executed by reading/writing the I/O.
Implementations on Foreign Types
impl<T> Acceptor<T> for () where
T: AsyncRead + AsyncWrite,
[src]
Loading content...
impl<T> Acceptor<T> for () where
T: AsyncRead + AsyncWrite,
Implementors
impl<F, T, U> Acceptor<T> for F where
F: Fn(T) -> U,
U: AsyncRead + AsyncWrite,
[src]
impl<F, T, U> Acceptor<T> for F where
F: Fn(T) -> U,
U: AsyncRead + AsyncWrite,