pub enum PrecheckReason {
Passed,
ScaffoldOnly,
ContractsMissing,
TicketJourneyUnmapped,
OldWrongCore,
NonPositiveEntry,
SingularNormalizationTarget,
NotFiniteInput,
AlphaOutOfRange,
UnknownContext,
ForbiddenCategoryWrite,
}Expand description
Reasons that can stop a v1 update before any trust dynamics execute.
Variants§
Passed
The guard accepted the tick and the caller may continue to the canonical update.
ScaffoldOnly
Story #148 only wires the enforceable scaffold and public contracts.
ContractsMissing
Public SpecFlow contracts are absent or incomplete.
TicketJourneyUnmapped
Tickets exist without enforceable journey mapping.
OldWrongCore
A stale God-spec-only implementation was detected.
NonPositiveEntry
A QAC matrix contains a zero or negative entry before flooring policy can apply.
SingularNormalizationTarget
A normalization target is singular or non-positive.
NotFiniteInput
An input contains NaN or infinity.
AlphaOutOfRange
alpha_t is outside the closed [0, 1] interval.
UnknownContext
The update references a context that is not registered.
ForbiddenCategoryWrite
A policy-forbidden category write attempted to enter the trust update path.
Trait Implementations§
Source§impl Clone for PrecheckReason
impl Clone for PrecheckReason
Source§fn clone(&self) -> PrecheckReason
fn clone(&self) -> PrecheckReason
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 moreimpl Copy for PrecheckReason
Source§impl Debug for PrecheckReason
impl Debug for PrecheckReason
impl Eq for PrecheckReason
Source§impl PartialEq for PrecheckReason
impl PartialEq for PrecheckReason
Source§fn eq(&self, other: &PrecheckReason) -> bool
fn eq(&self, other: &PrecheckReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrecheckReason
Auto Trait Implementations§
impl Freeze for PrecheckReason
impl RefUnwindSafe for PrecheckReason
impl Send for PrecheckReason
impl Sync for PrecheckReason
impl Unpin for PrecheckReason
impl UnsafeUnpin for PrecheckReason
impl UnwindSafe for PrecheckReason
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