pub struct ControllerSnapshotState {Show 13 fields
pub controller_id: ControllerId,
pub controller_name: String,
pub mode: ControllerMode,
pub decisions_this_epoch: u32,
pub fallback_active: bool,
pub calibration_score: f64,
pub last_decision_confidence: Option<f64>,
pub last_action_label: Option<String>,
pub last_evidence_tick: Option<u64>,
pub last_snapshot_id: Option<SnapshotId>,
pub epochs_in_current_mode: u64,
pub budget_overruns: u32,
pub proof_artifact_id: Option<String>,
}Expand description
Planner-facing snapshot of one controller’s observable runtime state.
Fields§
§controller_id: ControllerIdUnique identifier for the controller.
controller_name: StringHuman-readable controller name.
mode: ControllerModeCurrent operating mode.
decisions_this_epoch: u32Decisions recorded in the current epoch.
fallback_active: boolWhether the controller is running on a conservative fallback path.
calibration_score: f64Latest calibration score tracked for this controller.
last_decision_confidence: Option<f64>Latest decision confidence observed for this controller, if any.
last_action_label: Option<String>Last high-level action recorded for this controller, if any.
last_evidence_tick: Option<u64>Monotonic evidence tick (ledger entry ID) of the last recorded action.
last_snapshot_id: Option<SnapshotId>Latest runtime snapshot ID consumed by the controller, if any.
epochs_in_current_mode: u64Epochs spent in the current operating mode.
budget_overruns: u32Budget overruns accumulated since the last successful promotion.
proof_artifact_id: Option<String>Proof artifact associated with the controller registration, if any.
Trait Implementations§
Source§impl Clone for ControllerSnapshotState
impl Clone for ControllerSnapshotState
Source§fn clone(&self) -> ControllerSnapshotState
fn clone(&self) -> ControllerSnapshotState
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 ControllerSnapshotState
impl Debug for ControllerSnapshotState
Source§impl<'de> Deserialize<'de> for ControllerSnapshotState
impl<'de> Deserialize<'de> for ControllerSnapshotState
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
Auto Trait Implementations§
impl Freeze for ControllerSnapshotState
impl RefUnwindSafe for ControllerSnapshotState
impl Send for ControllerSnapshotState
impl Sync for ControllerSnapshotState
impl Unpin for ControllerSnapshotState
impl UnsafeUnpin for ControllerSnapshotState
impl UnwindSafe for ControllerSnapshotState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).