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 customAccept
.
Traits§
- Accept
- Asynchronously accept incoming connections.
Functions§
- from_
stream - Adapt a
Stream
of incoming connections into anAccept
. - poll_fn
- Create an
Accept
with a polling function.