Functions§
- iter
- Converts an
Iteratorinto aStreamwhich is always ready to yield the next value. - once
- Creates a stream that invokes the given future as its first item, and then produces no more items.
- unfold
- Creates a stream from a seed value and an async closure operating on it.
Type Aliases§
- Boxed
- Type alias for
Pin<Box<dyn Stream<Item = T> + Send + 'static>>.