Skip to main content

icydb_core/db/executor/diagnostics/
outcome.rs

1//! Module: db::executor::diagnostics::outcome
2//! Responsibility: executor-owned outcome labels for trace reporting.
3//! Does not own: diagnostics DTO storage or trace projection formatting.
4//! Boundary: runtime execution paths select these labels; diagnostics records them.
5
6#[cfg_attr(
7    doc,
8    doc = "ExecutionOptimization\n\nLoad optimization selected at execution time, if any."
9)]
10#[derive(Clone, Copy, Debug, Eq, PartialEq)]
11pub enum ExecutionOptimization {
12    PrimaryKey,
13    PrimaryKeyTopNSeek,
14    SecondaryOrderPushdown,
15    SecondaryOrderTopNSeek,
16    IndexRangeLimitPushdown,
17}