pub enum RuleDisposition {
Passed,
Failed,
Advisory,
Waived,
NotEvaluated,
NotApplicable,
}Expand description
One rule’s disposition in the coverage matrix — D-H’s closed vocabulary.
Serde kebab-case: the spellings are the design’s own (not-evaluated,
not-applicable), so the machine form and the prose surfaces can never
drift apart.
Variants§
Passed
Positive evidence joined the rule (a gate.result pass named it)
and no failing evidence did. Never rendered from absence.
Failed
Failing evidence joined an effectively ENFORCED rule.
Advisory
Failing evidence joined an effectively APPROVED rule — recorded, but the advisory lifecycle means it could not block (D-B).
Waived
Every joined failure was excepted by a valid, unexpired,
exactly-matching standards.waiver.approved (KRZ-344, D-I) — the
authorized human exception. One waiver subtracts exactly one
failure: any failing join left uncovered renders
failed/advisory instead.
NotEvaluated
The rule applied but no evidence names it. The honest zero state: absence of evidence is never rendered as pass (D-H).
NotApplicable
Evidence cites a rule/revision/digest the approved pin does not carry — surfaced as its own row, never joined and never dropped.
Implementations§
Trait Implementations§
Source§impl Clone for RuleDisposition
impl Clone for RuleDisposition
Source§fn clone(&self) -> RuleDisposition
fn clone(&self) -> RuleDisposition
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more