Module futures_util::sink [−][src]
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 |
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 |
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. |