Module futures_util::sink
source ยท Expand description
Modulesยง
- buffer ๐
- close ๐
- drain ๐
- err_into ๐
- fanout ๐
- feed ๐
- flush ๐
- map_err ๐
- send ๐
- send_all ๐
- unfold ๐
- with ๐
- with_flat_map ๐
Structsยง
- Sink for the
buffer
method. - Future for the
close
method. - Sink for the
drain
function. - Sink that clones incoming items and forwards them to two sinks at the same time.
- Future for the
feed
method. - Future for the
flush
method. - Future for the
send
method. - Future for the
send_all
method. - Sink for the
sink_err_into
method. - Sink for the
sink_map_err
method. - Sink for the
unfold
function. - Sink for the
with
method. - Sink for the
with_flat_map
method.
Traitsยง
- A
Sink
is a value into which other values can be sent, asynchronously. - An extension trait for
Sink
s that provides a variety of convenient combinator functions.
Functionsยง
- assert_sink ๐
- 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.