pub struct SegmentPlan {
pub source: RowSource,
pub tier: SegmentTier,
pub branch: SegmentBranch,
pub filter_mode: FilterMode,
pub filter_cardinality: u64,
pub approximate: bool,
pub fallback: PlanFallback,
pub scan_reason: Option<ScanReason>,
pub ef_requested: Option<usize>,
pub ef_effective: Option<usize>,
pub graph_profile: Option<GraphSearchProfile>,
pub node: PlanNode,
}Expand description
Truthful per-segment plan report returned with filtered results.
Fields§
§source: RowSourceCollision-free segment address.
tier: SegmentTierPhysical tier observed from published state.
branch: SegmentBranchExact branch that actually executed.
filter_mode: FilterModeFilter enforcement position.
filter_cardinality: u64Exact alive-bounded allow-list cardinality.
approximate: boolWhether result quality is approximate.
fallback: PlanFallbackNamed fallback, if any.
scan_reason: Option<ScanReason>Capacity or caller-choice reason when this plan executed a scan.
ef_requested: Option<usize>Caller-supplied graph width, or None for adaptive or scan work.
ef_effective: Option<usize>Actual filter-aware graph width, or None when no traversal ran.
graph_profile: Option<GraphSearchProfile>Graph profile actually used, or None when no traversal ran.
node: PlanNodeRecursive typed node for this segment.
Trait Implementations§
Source§impl Clone for SegmentPlan
impl Clone for SegmentPlan
Source§impl Debug for SegmentPlan
impl Debug for SegmentPlan
Source§impl PartialEq for SegmentPlan
impl PartialEq for SegmentPlan
impl StructuralPartialEq for SegmentPlan
Auto Trait Implementations§
impl Freeze for SegmentPlan
impl RefUnwindSafe for SegmentPlan
impl Send for SegmentPlan
impl Sync for SegmentPlan
impl Unpin for SegmentPlan
impl UnsafeUnpin for SegmentPlan
impl UnwindSafe for SegmentPlan
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