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