Skip to main content

SeekableBucketIterator

Trait SeekableBucketIterator 

Source
pub trait SeekableBucketIterator: Iterator<Item = BucketItem> {
    // Required method
    fn seek_bucket(&mut self, bucket: u64);
}
Expand description

Synchronous bucket iterator that can reposition within its scan bounds.

Required Methods§

Source

fn seek_bucket(&mut self, bucket: u64)

Reposition so the next bucket is the first at or past bucket in scan direction. Only the backend scan moves: the evaluator’s adapter around each leaf keeps the budget and the first-bucket reservation.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§