pub struct WatchdogStatus {
pub installed: bool,
pub last_beat_age_ms: u64,
pub stalls_total: u64,
pub emit_failures: u64,
}Expand description
Runtime figures of the hang watchdog, computed on call by status.
Fields§
§installed: boolA watchdog has been installed in this process.
last_beat_age_ms: u64Milliseconds since the main thread last answered a heartbeat ping (0 when not installed).
stalls_total: u64Stall episodes reported since install.
emit_failures: u64rightkit-shell://stall emits that failed. A failure is counted and the watchdog keeps
running.
Trait Implementations§
Source§impl Clone for WatchdogStatus
impl Clone for WatchdogStatus
impl Copy for WatchdogStatus
Source§impl Debug for WatchdogStatus
impl Debug for WatchdogStatus
impl Eq for WatchdogStatus
Source§impl PartialEq for WatchdogStatus
impl PartialEq for WatchdogStatus
impl StructuralPartialEq for WatchdogStatus
Auto Trait Implementations§
impl Freeze for WatchdogStatus
impl RefUnwindSafe for WatchdogStatus
impl Send for WatchdogStatus
impl Sync for WatchdogStatus
impl Unpin for WatchdogStatus
impl UnsafeUnpin for WatchdogStatus
impl UnwindSafe for WatchdogStatus
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,
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
Compare self to
key and return true if they are equal.