pub struct WatchdogSnapshot {
pub state: WatchdogState,
pub last_reconcile_at_ms: u64,
pub last_progress_at_ms: u64,
pub reconcile_sequence: u64,
pub stalled_for_ms: u64,
pub critical_services_healthy: bool,
pub enabled: bool,
pub stall_timeout_ms: u64,
}Expand description
Immutable watchdog progress exposed to health consumers.
Fields§
§state: WatchdogStateCurrent watchdog state.
last_reconcile_at_ms: u64Most recent reconciliation start or completion time.
last_progress_at_ms: u64Most recent completed reconciliation time.
reconcile_sequence: u64Number of completed reconciliation cycles.
stalled_for_ms: u64Elapsed time without completed reconciliation.
critical_services_healthy: boolWhether every enabled critical service is ready or healthy.
enabled: boolWhether watchdog enforcement is enabled.
stall_timeout_ms: u64Configured stall timeout.
Implementations§
Source§impl WatchdogSnapshot
impl WatchdogSnapshot
Sourcepub fn is_healthy(&self) -> bool
pub fn is_healthy(&self) -> bool
Reports whether progress is currently trustworthy.
Trait Implementations§
Source§impl Clone for WatchdogSnapshot
impl Clone for WatchdogSnapshot
Source§fn clone(&self) -> WatchdogSnapshot
fn clone(&self) -> WatchdogSnapshot
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 WatchdogSnapshot
impl Debug for WatchdogSnapshot
impl Eq for WatchdogSnapshot
Source§impl PartialEq for WatchdogSnapshot
impl PartialEq for WatchdogSnapshot
impl StructuralPartialEq for WatchdogSnapshot
Auto Trait Implementations§
impl Freeze for WatchdogSnapshot
impl RefUnwindSafe for WatchdogSnapshot
impl Send for WatchdogSnapshot
impl Sync for WatchdogSnapshot
impl Unpin for WatchdogSnapshot
impl UnsafeUnpin for WatchdogSnapshot
impl UnwindSafe for WatchdogSnapshot
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