[−][src]Module futures_util::sink
sink
only.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 Sink for the |
Close | sink Future for the |
Drain | sink Sink for the |
Fanout | sink Sink that clones incoming items and forwards them to two sinks at the same time. |
Flush | sink Future for the |
Send | sink Future for the |
SendAll | sink Future for the |
SinkErrInto | sink Sink for the |
SinkMapErr | sink Sink for the |
With | sink Sink for the |
WithFlatMap | sink Sink for the |
Traits
Sink | sink A |
SinkExt | sink An extension trait for |
Functions
drain | sink Create a sink that will just discard all items given to it. |