pub enum StallEvent {
Stalled {
episode: u64,
gap: Duration,
recovered: bool,
},
Recovered {
episode: u64,
gap: Duration,
},
ObserverGap {
gap: Duration,
},
Stopped {
reason: String,
},
}Variants§
Stalled
The target has not acknowledged for gap. recovered is true when the
ack landed late (a stall seen only after the fact: nothing left to sample).
Recovered
The target is answering again after a reported stall.
ObserverGap
The watchdog thread was not scheduled for gap; that interval’s timing was discarded.
Stopped
The ping closure returned an error; the watchdog stopped.
Trait Implementations§
Source§impl Clone for StallEvent
impl Clone for StallEvent
Source§impl Debug for StallEvent
impl Debug for StallEvent
impl Eq for StallEvent
Source§impl PartialEq for StallEvent
impl PartialEq for StallEvent
impl StructuralPartialEq for StallEvent
Auto Trait Implementations§
impl Freeze for StallEvent
impl RefUnwindSafe for StallEvent
impl Send for StallEvent
impl Sync for StallEvent
impl Unpin for StallEvent
impl UnsafeUnpin for StallEvent
impl UnwindSafe for StallEvent
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.