pub enum ControlDecision {
Reached(f64),
Blocked,
}Expand description
Decision returned by control_integrity.
Variants§
Reached(f64)
Control reference preserved (or no canonical was issued — gate inert).
Blocked
Mutation destroyed the control — downgrade to Inapplicable.
Implementations§
Source§impl ControlDecision
impl ControlDecision
Sourcepub fn confidence(self) -> f64
pub fn confidence(self) -> f64
Numeric confidence: Reached(c) → c; Blocked → 0.0.
Trait Implementations§
Source§impl Clone for ControlDecision
impl Clone for ControlDecision
Source§fn clone(&self) -> ControlDecision
fn clone(&self) -> ControlDecision
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 ControlDecision
impl Debug for ControlDecision
Source§impl PartialEq for ControlDecision
impl PartialEq for ControlDecision
Source§fn eq(&self, other: &ControlDecision) -> bool
fn eq(&self, other: &ControlDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ControlDecision
impl StructuralPartialEq for ControlDecision
Auto Trait Implementations§
impl Freeze for ControlDecision
impl RefUnwindSafe for ControlDecision
impl Send for ControlDecision
impl Sync for ControlDecision
impl Unpin for ControlDecision
impl UnsafeUnpin for ControlDecision
impl UnwindSafe for ControlDecision
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