Module af_core::stream [−][src]
Common Stream types and utilities.
Structs
Traits
| Stream | A stream of values produced asynchronously. |
| StreamExt | Extension trait for |
Functions
| block_on | Converts a stream into a blocking iterator. |
| empty | Creates an empty stream. |
| iter | Creates a stream from an iterator. |
| once | Creates a stream that yields a single item. |
| or | Merges two streams, preferring items from |
| pending | Creates a stream that is always pending. |
| poll_fn | Creates a stream from a function returning |
| race | Merges two streams, with no preference for either stream when both are ready. |
| repeat | Creates an infinite stream that yields the same item repeatedly. |
| repeat_with | Creates an infinite stream from a closure that generates items. |
| try_unfold | Creates a stream from a seed value and a fallible async closure operating on it. |
| unfold | Creates a stream from a seed value and an async closure operating on it. |
Type Definitions
| Boxed | Type alias for |
| BoxedLocal | Type alias for |