[−][src]Module futures_util::stream
Streams
This module contains a number of functions for working with Stream
s,
including the StreamExt
trait and the TryStreamExt
trait which add
methods to Stream
types
Structs
AndThen | Stream for the |
Chain | Stream for the |
Collect | Future for the |
Concat | Future for the |
Empty | Stream for the |
Enumerate | Stream for the |
ErrInto | Stream for the |
Filter | Stream for the |
FilterMap | Stream for the |
Flatten | Stream for the |
Fold | Future for the |
ForEach | Future for the |
Forward | Future for the |
Fuse | Stream for the |
Inspect | Stream for the |
InspectErr | Stream for the |
InspectOk | Stream for the |
IntoStream | Stream for the |
Iter | Stream for the |
Map | Stream for the |
MapErr | Stream for the |
MapOk | Stream for the |
Next | Future for the |
Once | A stream which emits single element and then EOF. |
OrElse | Stream for the |
Peekable | A |
Pending | Stream for the |
PollFn | Stream for the |
Repeat | Stream for the |
Select | Stream for the |
SelectNextSome | Future for the |
Skip | Stream for the |
SkipWhile | Stream for the |
StreamFuture | Future for the |
Take | Stream for the |
TakeWhile | Stream for the |
Then | Stream for the |
TryCollect | Future for the |
TryConcat | Future for the |
TryFilter | Stream for the |
TryFilterMap | Stream for the |
TryFlatten | Stream for the |
TryFold | Future for the |
TryForEach | Future for the |
TryNext | Future for the |
TrySkipWhile | Stream for the |
Unfold | Stream for the |
Zip | Stream for the |
Traits
FusedStream | A stream which tracks whether or not the underlying stream should no longer be polled. |
Stream | A stream of values produced asynchronously. |
StreamExt | An extension trait for |
TryStream | A convenience for streams that return |
TryStreamExt | Adapters specific to |
Functions
empty | Creates a stream which contains no elements. |
iter | Converts an |
once | Creates a stream of a single element. |
pending | Creates a stream which never returns any elements. |
poll_fn | Creates a new stream wrapping a function returning |
repeat | Create a stream which produces the same item repeatedly. |
select | This function will attempt to pull items from both streams. Each stream will be polled in a round-robin fashion, and whenever a stream is ready to yield an item that item is yielded. |
unfold | Creates a |