pub struct VerificationCadence {
pub max_mutations_between_checks: u32,
pub high_risk_mutations_between_checks: u32,
}Expand description
A bounded adaptive verification cadence (PSP-9 system 6).
Three boundaries are normative: the effect boundary runs at every
mutation and is never debounced; the interleaved evidence boundary runs
after at most max_mutations_between_checks admitted mutations (H);
the gate boundary runs the complete suite before every gate decision.
Runtime tuning may optimize within these bounds; it can never create an
unbounded unchecked interval (Paper II Theorem 3).
Fields§
§max_mutations_between_checks: u32H: admitted mutations before touched-scope diagnostics must run.
high_risk_mutations_between_checks: u32H for high/critical-risk effects; the PSP fixes this at 1.
Implementations§
Trait Implementations§
Source§impl Clone for VerificationCadence
impl Clone for VerificationCadence
Source§fn clone(&self) -> VerificationCadence
fn clone(&self) -> VerificationCadence
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 VerificationCadence
impl Debug for VerificationCadence
Source§impl Default for VerificationCadence
impl Default for VerificationCadence
Source§impl<'de> Deserialize<'de> for VerificationCadence
impl<'de> Deserialize<'de> for VerificationCadence
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 VerificationCadence
impl PartialEq for VerificationCadence
Source§fn eq(&self, other: &VerificationCadence) -> bool
fn eq(&self, other: &VerificationCadence) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VerificationCadence
impl Serialize for VerificationCadence
impl Eq for VerificationCadence
impl StructuralPartialEq for VerificationCadence
Auto Trait Implementations§
impl Freeze for VerificationCadence
impl RefUnwindSafe for VerificationCadence
impl Send for VerificationCadence
impl Sync for VerificationCadence
impl Unpin for VerificationCadence
impl UnsafeUnpin for VerificationCadence
impl UnwindSafe for VerificationCadence
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.