[−][src]Trait hyper::server::accept::Accept
Asynchronously accept incoming connections.
Associated Types
type Conn
[−]
The connection type that can be accepted.
type Error
[−]
The error type that can occur when accepting a connection.
Required methods
fn poll_accept(
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Option<Result<Self::Conn, Self::Error>>>
[−]
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Option<Result<Self::Conn, Self::Error>>>
Poll to accept the next connection.