[−][src]Module futures_util::sink
Sinks
This module contains a number of functions for working with Sink
s,
including the SinkExt
trait which adds methods to Sink
types.
This module is only available when the sink
feature of this
library is activated, and it is activated by default.
Structs
Buffer | Sink for the |
Close | Future for the |
Drain | Sink for the |
Fanout | Sink that clones incoming items and forwards them to two sinks at the same time. |
Flush | Future for the |
Send | Future for the |
SendAll | Future for the |
SinkErrInto | Sink for the |
SinkMapErr | Sink for the |
With | Sink for the |
WithFlatMap | Sink for the |
Traits
Sink | A |
SinkExt | An extension trait for |
Functions
drain | Create a sink that will just discard all items given to it. |