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.

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.
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