[−][src]Module futures_util::stream
Streams
This module contains a number of functions for working with Stream
s,
including the StreamExt
trait which adds methods to Stream
types.
Modules
futures_unordered | An unbounded set of futures. |
Structs
BufferUnordered | Stream for the |
Buffered | Stream for the |
CatchUnwind | Stream for the |
Chain | Stream for the |
Chunks | Stream for the |
Collect | Future for the |
Concat | Future for the |
Empty | Stream for the |
Enumerate | Stream for the |
Filter | Stream for the |
FilterMap | Stream for the |
Flatten | Stream for the |
Fold | Future for the |
ForEach | Future for the |
ForEachConcurrent | Future for the |
Forward | Future for the |
Fuse | Stream for the |
FuturesOrdered | An unbounded queue of futures. |
FuturesUnordered | A set of futures which may complete in any order. |
Inspect | Stream for the |
Iter | Stream for the |
Map | Stream for the |
Next | Future for the |
Once | A stream which emits single element and then EOF. |
Peekable | A |
PollFn | Stream for the |
Repeat | Stream for the |
ReuniteError | Error indicating a |
Select | Stream for the |
SelectAll | An unbounded set of streams |
SelectNextSome | Future for the |
Skip | Stream for the |
SkipWhile | Stream for the |
SplitSink | A |
SplitStream | A |
StreamFuture | Future for the |
Take | Stream for the |
TakeWhile | Stream for the |
Then | Stream for the |
Unfold | Stream for the |
Zip | Stream for the |
Traits
StreamExt | An extension trait for |
Functions
empty | Creates a stream which contains no elements. |
iter | Converts an |
once | Creates a stream of single element |
poll_fn | Creates a new stream wrapping around 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. |
select_all | Convert a list of streams into a |
unfold | Creates a |