pub enum ProbeMode {
Enforce,
Observe,
Disabled,
}Expand description
Per-probe gate participation (RFC-0007 §3.4). Threaded through every probe event so CP can decide whether to gate on a result without consulting a separate topology table.
Enforce— wave gate consults latest result; Fail blocks promotion.Observe— result recorded in event_log; gate ignores it.Disabled— declared but agent does not run it (operator suppression).
Variants§
Trait Implementations§
Source§impl Default for ProbeMode
impl Default for ProbeMode
Source§fn default() -> Self
fn default() -> Self
Conservative default for persisted state that pre-dates the
per-probe mode field on ProbeRecord: assume Enforce. Old
state thus retains its gating semantics on rehydration; the next
probe event from the agent updates the record to the actually-
declared mode per RFC-0007 §3.4.
Source§impl<'de> Deserialize<'de> for ProbeMode
impl<'de> Deserialize<'de> for ProbeMode
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 From<ProbeMode> for ProbeModeWire
impl From<ProbeMode> for ProbeModeWire
Source§impl From<ProbeModeWire> for ProbeMode
impl From<ProbeModeWire> for ProbeMode
Source§fn from(w: ProbeModeWire) -> Self
fn from(w: ProbeModeWire) -> Self
Converts to this type from the input type.
impl Copy for ProbeMode
impl Eq for ProbeMode
impl StructuralPartialEq for ProbeMode
Auto Trait Implementations§
impl Freeze for ProbeMode
impl RefUnwindSafe for ProbeMode
impl Send for ProbeMode
impl Sync for ProbeMode
impl Unpin for ProbeMode
impl UnwindSafe for ProbeMode
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more