[−][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.
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 |
Enums
DrainError | The error type for the |
Traits
SinkExt | An extension trait for |
Functions
drain | Create a sink that will just discard all items given to it. |