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,
{ ... }
}
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.