Module futures_util::sink
source · Expand description
Sinks
This module contains a number of functions for working with Sink
s,
including the SinkExt
trait which adds methods to Sink
types.
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
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
with
method. - Sink for the
with_flat_map
method.
Enums§
- The error type for the
Drain
sink.
Traits§
- An extension trait for
Sink
s that provides a variety of convenient combinator functions.
Functions§
- Create a sink that will just discard all items given to it.