pub struct DebugEpisode {
pub episode_id: u32,
pub start_window: u64,
pub end_window: u64,
pub peak_grammar_state: GrammarState,
pub primary_reason_code: ReasonCode,
pub matched_motif: SemanticDisposition,
pub policy_state: PolicyState,
pub contributing_signal_count: u16,
pub structural_signature: StructuralSignature,
pub root_cause_signal_index: Option<u16>,
}Expand description
A debugging episode — the Trace Event Collapse output. Paper §7: “the primary developer-facing delta”
Fields§
§episode_id: u32§start_window: u64§end_window: u64§peak_grammar_state: GrammarState§primary_reason_code: ReasonCode§matched_motif: SemanticDisposition§policy_state: PolicyState§contributing_signal_count: u16§structural_signature: StructuralSignature§root_cause_signal_index: Option<u16>Most-upstream contributing signal in the service-call graph,
if a graph was supplied to run_evaluation_with_graph and a
unique upstream root could be determined; else None.
Populated by causality::attribute_root_cause.
Trait Implementations§
Source§impl Clone for DebugEpisode
impl Clone for DebugEpisode
Source§fn clone(&self) -> DebugEpisode
fn clone(&self) -> DebugEpisode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DebugEpisode
impl Debug for DebugEpisode
Source§impl PartialEq for DebugEpisode
impl PartialEq for DebugEpisode
Source§fn eq(&self, other: &DebugEpisode) -> bool
fn eq(&self, other: &DebugEpisode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DebugEpisode
impl StructuralPartialEq for DebugEpisode
Auto Trait Implementations§
impl Freeze for DebugEpisode
impl RefUnwindSafe for DebugEpisode
impl Send for DebugEpisode
impl Sync for DebugEpisode
impl Unpin for DebugEpisode
impl UnsafeUnpin for DebugEpisode
impl UnwindSafe for DebugEpisode
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