Module futures_util::sink 
source · Expand description
Structs§
- Sink for thebuffermethod.
- Future for theclosemethod.
- Sink for thedrainfunction.
- Sink that clones incoming items and forwards them to two sinks at the same time.
- Future for thefeedmethod.
- Future for theflushmethod.
- Future for thesendmethod.
- Future for thesend_allmethod.
- Sink for thesink_err_intomethod.
- Sink for thesink_map_errmethod.
- Sink for theunfoldfunction.
- Sink for thewithmethod.
- Sink for thewith_flat_mapmethod.
Traits§
- ASinkis a value into which other values can be sent, asynchronously.
- An extension trait forSinks that provides a variety of convenient combinator functions.
Functions§
- Create a sink that will just discard all items given to it.
- Create a sink from a function which processes one item at a time.