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.
Re-exportsยง
use std::iter;๐use std::marker::PhantomData;๐
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