pub enum AnomalyRule {
Show 14 variants
LowOutput,
LongRunning,
TransientReadError,
DuplicateRunner,
OverlappingCycles,
OverlappingSteps,
MissingStepEnd,
EmptyCycle,
OrphanCommand,
NonzeroExit,
UnexpandedTemplateVar,
DegenerateLoop,
SandboxDenied,
IncarnationBoundary,
}Expand description
Canonical anomaly rules emitted by trace analysis.
Variants§
LowOutput
A step produced too little output to be considered trustworthy.
LongRunning
A step or cycle ran longer than expected.
TransientReadError
A transient read error interrupted trace collection.
DuplicateRunner
More than one runner processed the same logical work.
OverlappingCycles
Multiple workflow cycles overlapped unexpectedly.
OverlappingSteps
Multiple steps overlapped unexpectedly.
MissingStepEnd
A step start event was observed without a matching end event.
EmptyCycle
A workflow cycle completed without processing any steps.
OrphanCommand
A command was observed without a matching task-step context.
NonzeroExit
A command exited with a non-zero status.
UnexpandedTemplateVar
A templated variable remained unexpanded in emitted output.
DegenerateLoop
FR-035: An item-phase pair failed repeatedly, indicating a degenerate loop.
SandboxDenied
FR-044: The sandbox denied one or more file-system writes during step execution.
IncarnationBoundary
The daemon restarted (exec() or cold start) during the task’s lifetime.
Implementations§
Source§impl AnomalyRule
impl AnomalyRule
Sourcepub fn canonical_name(&self) -> &'static str
pub fn canonical_name(&self) -> &'static str
Returns the stable machine-readable name for the rule.
Sourcepub fn default_severity(&self) -> Severity
pub fn default_severity(&self) -> Severity
Returns the default severity associated with the rule.
Sourcepub fn escalation(&self) -> Escalation
pub fn escalation(&self) -> Escalation
Returns the default escalation policy associated with the rule.
Sourcepub fn display_tag(&self) -> &'static str
pub fn display_tag(&self) -> &'static str
Returns the uppercase display tag used in reports and logs.
Sourcepub fn from_canonical(name: &str) -> Option<AnomalyRule>
pub fn from_canonical(name: &str) -> Option<AnomalyRule>
Parses a canonical rule name back into an AnomalyRule.
Trait Implementations§
Source§impl Clone for AnomalyRule
impl Clone for AnomalyRule
Source§fn clone(&self) -> AnomalyRule
fn clone(&self) -> AnomalyRule
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AnomalyRule
impl Debug for AnomalyRule
Source§impl PartialEq for AnomalyRule
impl PartialEq for AnomalyRule
impl StructuralPartialEq for AnomalyRule
Auto Trait Implementations§
impl Freeze for AnomalyRule
impl RefUnwindSafe for AnomalyRule
impl Send for AnomalyRule
impl Sync for AnomalyRule
impl Unpin for AnomalyRule
impl UnsafeUnpin for AnomalyRule
impl UnwindSafe for AnomalyRule
Blanket Implementations§
Source§impl<T> AnyExt for T
impl<T> AnyExt for T
Source§fn downcast_ref<T>(this: &Self) -> Option<&T>where
T: Any,
fn downcast_ref<T>(this: &Self) -> Option<&T>where
T: Any,
T behind referenceSource§fn downcast_mut<T>(this: &mut Self) -> Option<&mut T>where
T: Any,
fn downcast_mut<T>(this: &mut Self) -> Option<&mut T>where
T: Any,
T behind mutable referenceSource§fn downcast_rc<T>(this: Rc<Self>) -> Result<Rc<T>, Rc<Self>>where
T: Any,
fn downcast_rc<T>(this: Rc<Self>) -> Result<Rc<T>, Rc<Self>>where
T: Any,
T behind Rc pointerSource§fn downcast_arc<T>(this: Arc<Self>) -> Result<Arc<T>, Arc<Self>>where
T: Any,
fn downcast_arc<T>(this: Arc<Self>) -> Result<Arc<T>, Arc<Self>>where
T: Any,
T behind Arc pointerSource§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, X> CoerceTo<T> for Xwhere
T: CoerceFrom<X> + ?Sized,
impl<T, X> CoerceTo<T> for Xwhere
T: CoerceFrom<X> + ?Sized,
fn coerce_rc_to(self: Rc<X>) -> Rc<T>
fn coerce_box_to(self: Box<X>) -> Box<T>
fn coerce_ref_to(&self) -> &T
fn coerce_mut_to(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request