[−][src]Module futures_async_combinators::stream
Traits
Stream | A stream of values produced asynchronously. |
Functions
chain | Adapter for chaining two stream. |
collect | Collect all of the values of this stream into a vector, returning a future representing the result of that computation. |
concat | Concatenate all items of a stream into a single extendable destination, returning a future representing the end result. |
filter | Filters the values produced by this stream according to the provided asynchronous predicate. |
filter_map | Filters the values produced by this stream while simultaneously mapping them to a different type according to the provided asynchronous closure. |
flatten | Flattens a stream of streams into just one continuous stream. |
fold | Execute an accumulating asynchronous computation over a stream, collecting all the values into one final result. |
for_each | Runs this stream to completion, executing the provided asynchronous closure for each element on the stream. |
into_future | Converts this stream into a future of |
iter | Converts an |
map | Maps this stream's items to a different type, returning a new stream of the resulting type. |
next | Creates a future that resolves to the next item in the stream. |
poll_fn | Creates a new stream wrapping a function returning |
repeat | Create a stream which produces the same item repeatedly. |
skip | Creates a new stream which skips |
skip_while | Skip elements on this stream while the provided asynchronous predicate
resolves to |
take | Creates a new stream of at most |
take_while | Take elements from this stream while the provided asynchronous predicate
resolves to |
then | Computes from this stream's items new items of a different type using an asynchronous closure. |
unfold | Creates a |
zip | An adapter for zipping two streams together. |