Trait poem::listener::AcceptorExt[][src]

pub trait AcceptorExt: Acceptor {
    fn combine<T>(self, other: T) -> Combined<Self, T>
    where
        Self: Sized
, { ... }
fn boxed(self) -> BoxAcceptor
    where
        Self: Sized + 'static
, { ... }
fn tls(self, config: TlsConfig) -> IoResult<TlsAcceptor<Self>>
    where
        Self: Sized
, { ... } }
Expand description

Extension trait for Acceptor.

Provided methods

Combine two acceptors.

Wrap the acceptor in a Box.

This is supported on crate feature tls only.

Consume this acceptor and return a new TLS acceptor.

Implementors