[−][src]Module futures::sink
Asynchronous sinks.
This module contains:
- The
Sink
trait, which allows you to asynchronously write data. - The
SinkExt
trait, which provides adapters for chaining and composing sinks.
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
Sink | A |
SinkExt | An extension trait for |
Functions
drain | Create a sink that will just discard all items given to it. |