pub enum PolicyState {
Silent = 0,
Watch = 1,
Review = 2,
Escalate = 3,
}Expand description
Policy states — developer-facing output Paper §5: Silent / Watch / Review / Escalate
Variants§
Silent = 0
No motif activated; persistence or corroboration gate failed
Watch = 1
Structural activity below escalation threshold
Review = 2
Motif confirmed; developer review warranted
Escalate = 3
Motif confirmed + violation-class; immediate attention
Trait Implementations§
Source§impl Clone for PolicyState
impl Clone for PolicyState
Source§fn clone(&self) -> PolicyState
fn clone(&self) -> PolicyState
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 PolicyState
impl Debug for PolicyState
Source§impl Ord for PolicyState
impl Ord for PolicyState
Source§fn cmp(&self, other: &PolicyState) -> Ordering
fn cmp(&self, other: &PolicyState) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PolicyState
impl PartialEq for PolicyState
Source§fn eq(&self, other: &PolicyState) -> bool
fn eq(&self, other: &PolicyState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PolicyState
impl PartialOrd for PolicyState
impl Copy for PolicyState
impl Eq for PolicyState
impl StructuralPartialEq for PolicyState
Auto Trait Implementations§
impl Freeze for PolicyState
impl RefUnwindSafe for PolicyState
impl Send for PolicyState
impl Sync for PolicyState
impl Unpin for PolicyState
impl UnsafeUnpin for PolicyState
impl UnwindSafe for PolicyState
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