Skip to main content

Module batching_split_before

Module batching_split_before 

Source
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.
BatchesWithHeader
Iterator for the header, transformable into a Batches yielding subsequent batches
EvenYieldOneBatchStarting 🔒
Token stored (or not) in the state to indicate to yield even a batch-starting item
Input 🔒
Input, shared by our public structs
NoDrainToken 🔒
Token stored (or not) in the state to indicate not to drain the previous batch

Traits§

IteratorExt
Extension trait providing batching_split_before