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<S>(self, config_stream: S) -> TlsAcceptor<Self>
where
Self: Sized,
S: Stream<Item = TlsConfig> + Send + 'static,
{ ... }
}
Expand description
Extension trait for Acceptor
.
Provided methods
fn boxed(self) -> BoxAcceptor where
Self: Sized + 'static,
fn boxed(self) -> BoxAcceptor where
Self: Sized + 'static,
Wrap the acceptor in a Box.