struct ReducerState {
manifests: Option<SignedManifestSet>,
quarantines: QuarantineSet,
last_heartbeat_at: HashMap<String, DateTime<Utc>>,
}Expand description
Reducer-task-private state. The DB-backed CP-mirror lives in
host_rollout_records; this struct holds only the data the
reducer can’t or shouldn’t go back to SQLite for on every input.
Fields§
§manifests: Option<SignedManifestSet>§quarantines: QuarantineSet§last_heartbeat_at: HashMap<String, DateTime<Utc>>last_heartbeat_at[hostname] — in-memory only. Lost on CP restart;
the agent’s next heartbeat re-seeds within seconds. Operator-
observable freshness, not gate input.
Auto Trait Implementations§
impl Freeze for ReducerState
impl RefUnwindSafe for ReducerState
impl Send for ReducerState
impl Sync for ReducerState
impl Unpin for ReducerState
impl UnwindSafe for ReducerState
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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