Trait hyper::server::accept::Accept [−][src]
pub trait Accept { type Conn; type Error; fn poll_accept(
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Option<Result<Self::Conn, Self::Error>>>; }
This is supported on crate feature
server
only.Expand description
Asynchronously accept incoming connections.