Expand description
Foundational acceptor traits exposed by the crate.
These traits abstract over types that can accept values or asynchronous computations. They serve as the building blocks for adapters provided in other modules and make it possible to write code that is generic over different acceptor implementations.
Traitsยง
- Accepts
- Receives a value and processes it immediately.
- Async
Accepts - Receives a value and returns a future that completes once processing finishes.
- DynAsync
Accepts - Asynchronous acceptor that returns a boxed trait-object future.