pub struct ScanBatch {
pub rows: Vec<ScanRow>,
pub bytes: usize,
pub done: bool,
}Expand description
One batch of scan rows together with its byte accounting and done flag.
Fields§
§rows: Vec<ScanRow>Materialized rows in ascending key order.
bytes: usizeCopied key/value bytes, excluding allocation/container overhead.
done: boolFalse may require another call to discover exhaustion at a batch edge.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScanBatch
impl RefUnwindSafe for ScanBatch
impl Send for ScanBatch
impl Sync for ScanBatch
impl Unpin for ScanBatch
impl UnsafeUnpin for ScanBatch
impl UnwindSafe for ScanBatch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more