Expand description
Provides utilities to fold [Stream
]s and [TryStream
]s with a
short-circuited result.
Enums§
- Fold
Result - The result of folding a stream.
- Fold
While - Controls folding behavior.
Functions§
- fold_
while - Similar to [
StreamExt::fold
], but the closuref
can short-circuit the operation by returningFoldWhile::Done
. - try_
fold_ while - Similar to [
TryStreamExt::try_fold
], but the closuref
can short-circuit the operation by returningFoldWhile::Done
.