Expand description
Built-in sink implementations.
| Type | Description |
|---|---|
CollectSink<T> | Collects all items into a Vec<T> |
CountSink<T> | Counts items received |
FnSink<T, F> | Wraps a closure as a sink |
Structsยง
- Collect
Sink - Sink that collects all items into a
Vec<T>. - Count
Sink - Sink that counts items received.
- FnSink
- Sink that wraps a closure.