pub enum KillSwitchAction {
Pause,
Quarantine,
Terminate,
}Expand description
Tier of intervention performed by the kill-switch.
Distinct from tenzro_agent::lifecycle::AgentState — that is the
runtime FSM, this is the on-chain action label that produced the
transition. The two are not 1:1: an Active → Quarantined transition
can come from either a controller Quarantine or an escalated
Pause → Quarantine. This field records what was issued, not what
the agent’s resulting state is (the receipt does not duplicate the
FSM — readers join on agent_did).
Variants§
Pause
Reversible pause (tier 1).
Quarantine
Reversible quarantine (tier 2).
Terminate
Irreversible termination (tier 3).
Implementations§
Trait Implementations§
Source§impl Clone for KillSwitchAction
impl Clone for KillSwitchAction
Source§fn clone(&self) -> KillSwitchAction
fn clone(&self) -> KillSwitchAction
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 KillSwitchAction
Source§impl Debug for KillSwitchAction
impl Debug for KillSwitchAction
Source§impl<'de> Deserialize<'de> for KillSwitchAction
impl<'de> Deserialize<'de> for KillSwitchAction
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
impl Eq for KillSwitchAction
Source§impl PartialEq for KillSwitchAction
impl PartialEq for KillSwitchAction
Source§fn eq(&self, other: &KillSwitchAction) -> bool
fn eq(&self, other: &KillSwitchAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KillSwitchAction
impl Serialize for KillSwitchAction
impl StructuralPartialEq for KillSwitchAction
Auto Trait Implementations§
impl Freeze for KillSwitchAction
impl RefUnwindSafe for KillSwitchAction
impl Send for KillSwitchAction
impl Sync for KillSwitchAction
impl Unpin for KillSwitchAction
impl UnsafeUnpin for KillSwitchAction
impl UnwindSafe for KillSwitchAction
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