pub struct StatusSummary {
pub peers: PeerCounts,
pub daemons: DaemonCounts,
pub replica_chains: usize,
pub avoid_list_entries: usize,
pub recently_emitted_count: usize,
pub recent_failure_count: usize,
pub admin_audit_ring_depth: usize,
pub freeze_remaining_ms: Option<u64>,
pub local_maintenance_active: bool,
}Expand description
Compact at-a-glance rollup of the runtime’s latest snapshot.
Built by DeckClient::status_summary; designed for the
operator UI’s “is everything OK?” header — one pass over
the snapshot to count each cohort, plus the two cluster-
wide flags (Self::freeze_remaining_ms and
Self::local_maintenance_active) operators care most
about at first glance.
Fields§
§peers: PeerCountsPer-health-class peer counts.
daemons: DaemonCountsPer-lifecycle-and-restart-state daemon counts.
replica_chains: usizeNumber of replica chains the snapshot tracks.
avoid_list_entries: usizeNumber of avoid-list entries on this node.
recently_emitted_count: usizeDepth of the ring of recently-emitted actions (count
of entries in MeshOsSnapshot::recently_emitted).
This is “what reconcile recently asked for,” NOT “what
is currently in flight” — the executor doesn’t signal
completion back to the loop, so the ring caps at
action_queue_capacity and never drains on its own.
recent_failure_count: usizeExecutor failure ring depth.
admin_audit_ring_depth: usizeAdmin audit ring depth (signed ICE bundles + unsigned admin events).
freeze_remaining_ms: Option<u64>Milliseconds remaining on the cluster-wide ICE freeze.
None if no freeze is in effect.
local_maintenance_active: booltrue iff this node’s local maintenance state is
anything other than Active. Operators read this for
“is this node in maintenance right now?”.
Trait Implementations§
Source§impl Clone for StatusSummary
impl Clone for StatusSummary
Source§fn clone(&self) -> StatusSummary
fn clone(&self) -> StatusSummary
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StatusSummary
impl Debug for StatusSummary
Source§impl Default for StatusSummary
impl Default for StatusSummary
Source§fn default() -> StatusSummary
fn default() -> StatusSummary
Source§impl PartialEq for StatusSummary
impl PartialEq for StatusSummary
Source§fn eq(&self, other: &StatusSummary) -> bool
fn eq(&self, other: &StatusSummary) -> bool
self and other values to be equal, and is used by ==.impl Eq for StatusSummary
impl StructuralPartialEq for StatusSummary
Auto Trait Implementations§
impl Freeze for StatusSummary
impl RefUnwindSafe for StatusSummary
impl Send for StatusSummary
impl Sync for StatusSummary
impl Unpin for StatusSummary
impl UnsafeUnpin for StatusSummary
impl UnwindSafe for StatusSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.