pub struct IndexInstrumentationSnapshot {
pub state_durations_ms: HashMap<IndexStateKind, u64>,
pub phase_durations_ms: HashMap<IndexPhase, u64>,
pub state_transition_counts: HashMap<IndexStateTransition, u64>,
pub phase_transition_counts: HashMap<IndexPhaseTransition, u64>,
pub early_exit_counts: HashMap<EarlyExitReason, u64>,
pub last_early_exit: Option<EarlyExitRecord>,
}Expand description
Snapshot of index lifecycle instrumentation.
Fields§
§state_durations_ms: HashMap<IndexStateKind, u64>Accumulated time spent per state (milliseconds).
phase_durations_ms: HashMap<IndexPhase, u64>Accumulated time spent per build phase (milliseconds).
state_transition_counts: HashMap<IndexStateTransition, u64>Counts of state transitions.
phase_transition_counts: HashMap<IndexPhaseTransition, u64>Counts of phase transitions.
early_exit_counts: HashMap<EarlyExitReason, u64>Counts of early exit reasons.
last_early_exit: Option<EarlyExitRecord>Most recent early exit record.
Trait Implementations§
Source§impl Clone for IndexInstrumentationSnapshot
impl Clone for IndexInstrumentationSnapshot
Source§fn clone(&self) -> IndexInstrumentationSnapshot
fn clone(&self) -> IndexInstrumentationSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IndexInstrumentationSnapshot
impl RefUnwindSafe for IndexInstrumentationSnapshot
impl Send for IndexInstrumentationSnapshot
impl Sync for IndexInstrumentationSnapshot
impl Unpin for IndexInstrumentationSnapshot
impl UnsafeUnpin for IndexInstrumentationSnapshot
impl UnwindSafe for IndexInstrumentationSnapshot
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