Module hyper::server::accept

source ·
Expand description

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

  • Asynchronously accept incoming connections.

Functions

  • Adapt a Stream of incoming connections into an Accept.
  • Create an Accept with a polling function.