pub struct EvaluationPath {
pub stages: Vec<String>,
pub guard_sequence: Vec<String>,
pub stage_timings_us: BTreeMap<String, u64>,
}Expand description
Per-check pipeline trace used for explainability and stage timing telemetry.
Fields§
§stages: Vec<String>Ordered list of visited stage names.
guard_sequence: Vec<String>Ordered list of guard names that executed.
stage_timings_us: BTreeMap<String, u64>Per-stage elapsed time in microseconds.
Implementations§
Source§impl EvaluationPath
impl EvaluationPath
pub fn is_empty(&self) -> bool
pub fn path_string(&self) -> String
pub fn record_stage( &mut self, stage: EvaluationStage, stage_guards: Vec<String>, elapsed: Duration, )
Trait Implementations§
Source§impl Clone for EvaluationPath
impl Clone for EvaluationPath
Source§fn clone(&self) -> EvaluationPath
fn clone(&self) -> EvaluationPath
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 moreSource§impl Debug for EvaluationPath
impl Debug for EvaluationPath
Source§impl Default for EvaluationPath
impl Default for EvaluationPath
Source§fn default() -> EvaluationPath
fn default() -> EvaluationPath
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EvaluationPath
impl<'de> Deserialize<'de> for EvaluationPath
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EvaluationPath
impl PartialEq for EvaluationPath
Source§impl Serialize for EvaluationPath
impl Serialize for EvaluationPath
impl Eq for EvaluationPath
impl StructuralPartialEq for EvaluationPath
Auto Trait Implementations§
impl Freeze for EvaluationPath
impl RefUnwindSafe for EvaluationPath
impl Send for EvaluationPath
impl Sync for EvaluationPath
impl Unpin for EvaluationPath
impl UnsafeUnpin for EvaluationPath
impl UnwindSafe for EvaluationPath
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.