Module hyper::server::accept[][src]

The Accept trait and supporting types.

This module contains:

  • The Accept trait used to asynchronously accept incoming connections.
  • Utilities like poll_fn to ease creating a custom Accept.

Traits

Accept

Asynchronously accept incoming connections.

Functions

from_stream

Adapt a Stream of incoming connections into an Accept.

poll_fn

Create an Accept with a polling function.