Expand description
Block stream iterator with backpressure for large CAR/tensor exports.
Provides BlockStreamIterator for memory-efficient iteration over large
block exports. Backpressure is applied synchronously: when the internal
buffer is full, BlockStreamIterator::next_chunk returns None until
the consumer calls BlockStreamIterator::drain_one.
Structs§
- Block
Chunk - A single unit of work produced by
BlockStreamIterator. - Block
Stream Iterator - Synchronous, single-threaded streaming iterator over a block collection.
- Stream
Config - Configuration for a
BlockStreamIterator. - Stream
Stats - Cumulative statistics for a
BlockStreamIterator.
Enums§
- Block
Stream State - Current state of a
BlockStreamIterator.