Expand description
Re-exports§
pub use futures_core::stream::Stream;
Structs§
- AllFuture
- Future for the
StreamExt::all()
method. - AnyFuture
- Future for the
StreamExt::any()
method. - BlockOn
- Iterator for the
block_on()
function. - Chain
- Stream for the
StreamExt::chain()
method. - Cloned
- Stream for the
StreamExt::cloned()
method. - Collect
Future - Future for the
StreamExt::collect()
method. - Copied
- Stream for the
StreamExt::copied()
method. - Count
Future - Future for the
StreamExt::count()
method. - Cycle
- Stream for the
StreamExt::cycle()
method. - Empty
- Stream for the
empty()
function. - Enumerate
- Stream for the
StreamExt::cycle()
method. - Filter
- Stream for the
StreamExt::filter()
method. - Filter
Map - Stream for the
StreamExt::filter_map()
method. - Find
Future - Future for the
StreamExt::find()
method. - Find
MapFuture - Future for the
StreamExt::find_map()
method. - FlatMap
- Stream for the
StreamExt::flat_map()
method. - Flatten
- Stream for the
StreamExt::flat_map()
method. - Fold
Future - Future for the
StreamExt::fold()
method. - ForEach
Future - Future for the
StreamExt::for_each()
method. - Fuse
- Stream for the
StreamExt::fuse()
method. - Inspect
- Stream for the
StreamExt::inspect()
method. - Iter
- Stream for the
iter()
function. - Last
Future - Future for the
StreamExt::last()
method. - Map
- Stream for the
StreamExt::map()
method. - Next
Future - Future for the
StreamExt::next()
method. - NthFuture
- Future for the
StreamExt::nth()
method. - Once
- Stream for the
once()
function. - Or
- Stream for the
or()
function and theStreamExt::or()
method. - Partition
Future - Future for the
StreamExt::partition()
method. - Pending
- Stream for the
pending()
function. - PollFn
- Stream for the
poll_fn()
function. - Position
Future - Future for the
StreamExt::position()
method. - Race
- Stream for the
race()
function and theStreamExt::race()
method. - Repeat
- Stream for the
repeat()
function. - Repeat
With - Stream for the
repeat_with()
function. - Scan
- Stream for the
StreamExt::scan()
method. - Skip
- Stream for the
StreamExt::skip()
method. - Skip
While - Stream for the
StreamExt::skip_while()
method. - StepBy
- Stream for the
StreamExt::step_by()
method. - Take
- Stream for the
StreamExt::take()
method. - Take
While - Stream for the
StreamExt::take_while()
method. - Then
- Stream for the
StreamExt::then()
method. - TryCollect
Future - Future for the
StreamExt::try_collect()
method. - TryFold
Future - Future for the
StreamExt::try_fold()
method. - TryFor
Each Future - Future for the
StreamExt::try_for_each()
method. - TryNext
Future - Future for the
StreamExt::try_next()
method. - TryUnfold
- Stream for the
try_unfold()
function. - Unfold
- Stream for the
unfold()
function. - Unzip
Future - Future for the
StreamExt::unzip()
method. - Zip
- Stream for the
StreamExt::zip()
method.
Traits§
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
stream1
whenever both streams are ready. - pending
- Creates a stream that is always pending.
- poll_fn
- Creates a stream from a function returning
Poll
. - 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 Aliases§
- Boxed
- Type alias for
Pin<Box<dyn Stream<Item = T> + Send + 'static>>
. - Boxed
Local - Type alias for
Pin<Box<dyn Stream<Item = T> + 'static>>
.