Module futures::sink [−][src]
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 |
A sink that will discard all items given to it. |
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 |
A sink combinator to change the error type of a sink. |
SinkMapErr |
Sink for the |
With |
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. |