#[repr(u8)]pub enum ActionLevel {
Observe = 0,
Advise = 1,
Correct = 2,
Intervene = 3,
}Expand description
Graduated response level for homeostatic correction.
Variants§
Observe = 0
Log only, no action taken.
Advise = 1
Emit a recommendation, log the advice.
Correct = 2
Take gentle action (shed load, cool down tool, tighten dharma).
Intervene = 3
Strong action (circuit breaker, force Theta/dream, refuse writes).
Implementations§
Trait Implementations§
Source§impl Clone for ActionLevel
impl Clone for ActionLevel
Source§fn clone(&self) -> ActionLevel
fn clone(&self) -> ActionLevel
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 ActionLevel
Source§impl Debug for ActionLevel
impl Debug for ActionLevel
Source§impl<'de> Deserialize<'de> for ActionLevel
impl<'de> Deserialize<'de> for ActionLevel
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 Display for ActionLevel
impl Display for ActionLevel
impl Eq for ActionLevel
Source§impl Hash for ActionLevel
impl Hash for ActionLevel
Source§impl PartialEq for ActionLevel
impl PartialEq for ActionLevel
Source§impl Serialize for ActionLevel
impl Serialize for ActionLevel
impl StructuralPartialEq for ActionLevel
Auto Trait Implementations§
impl Freeze for ActionLevel
impl RefUnwindSafe for ActionLevel
impl Send for ActionLevel
impl Sync for ActionLevel
impl Unpin for ActionLevel
impl UnsafeUnpin for ActionLevel
impl UnwindSafe for ActionLevel
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