Expand description
Iterator extension for splitting into batches, each introduced by a batch-starting item
See
IteratorExt::batching_split_before_loose and
IteratorExt::batching_split_before_with_header.
§UNSTABLE
This whole module is UNSTABLE and not part of the semver guarantees.
You’ll only see it if you ran rustdoc with --document-private-items.
Structs§
- Batch
- Iterator to yield the members of a batch.
- Batches
- An iterator-like object yielding an iterator for each batch.
- Batches
With Header - Iterator for the header, transformable into a
Batchesyielding subsequent batches - Even
Yield 🔒OneBatch Starting - Token stored (or not) in the state to indicate to yield even a batch-starting item
- Input 🔒
- Input, shared by our public structs
- NoDrain
Token 🔒 - Token stored (or not) in the state to indicate not to drain the previous batch
Traits§
- Iterator
Ext - Extension trait providing
batching_split_before