pub enum ScanReason {
BelowGraphThreshold {
rows: u32,
min_rows: u32,
},
GraphPending,
ActiveSegment,
FullMaterialization,
WideningCap {
ef: usize,
rows: usize,
},
ExplicitTier(ExplicitScanTier),
}Expand description
Why one segment was served without graph traversal.
These are capacity and caller-choice reasons only. Graph integrity and validation failures remain typed query errors and never become reasons for a quiet scan.
Variants§
BelowGraphThreshold
The immutable segment has not reached the measured graph crossover.
Fields
GraphPending
The segment is eligible, but its graph has not been published yet.
ActiveSegment
The mutable unsealed tail cannot carry a graph.
FullMaterialization
Hybrid widening requested the complete corpus.
WideningCap
Hybrid widening made graph traversal more expensive than exact scan.
Fields
ExplicitTier(ExplicitScanTier)
The caller explicitly selected a scan tier.
Trait Implementations§
Source§impl Clone for ScanReason
impl Clone for ScanReason
impl Copy for ScanReason
Source§impl Debug for ScanReason
impl Debug for ScanReason
impl Eq for ScanReason
Source§impl PartialEq for ScanReason
impl PartialEq for ScanReason
impl StructuralPartialEq for ScanReason
Auto Trait Implementations§
impl Freeze for ScanReason
impl RefUnwindSafe for ScanReason
impl Send for ScanReason
impl Sync for ScanReason
impl Unpin for ScanReason
impl UnsafeUnpin for ScanReason
impl UnwindSafe for ScanReason
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