[−][src]Module futures::stream
Asynchronous streams.
This module contains:
- The
Stream
trait, for objects that can asynchronously produce a sequence of values. - The
StreamExt
trait, which provides adapters for chaining and composing streams. - Top-level stream contructors like
iter
which creates a stream from an iterator.
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 |
ErrInto | 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 |
IntoAsyncRead | An |
IntoStream | Stream for the |
Iter | Stream for the |
LocalStreamObj | A custom trait object for polling streams, roughly akin to
|
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. |
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 |
StreamObj | A custom trait object for polling streams, roughly akin to
|
Take | Stream for the |
TakeWhile | Stream for the |
Then | Stream for the |
TryBufferUnordered | Stream for the
|
TryCollect | Future for the |
TryFilterMap | Stream for the |
TryFold | Future for the |
TryForEach | Future for the |
TryForEachConcurrent | Future for the
|
TryNext | Future for the |
TrySkipWhile | Stream for the |
Unfold | Stream for the |
Zip | Stream for the |
Traits
FusedStream | A |
Stream | A stream of values produced asynchronously. |
StreamExt | An extension trait for |
TryStream | A convenience for streams that return |
TryStreamExt | Adapters specific to |
UnsafeStreamObj | A custom implementation of a stream trait object 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_all | Convert a list of streams into a |
unfold | Creates a |