pub struct ApplicationHeartbeatSnapshot {
pub state: ApplicationHeartbeatState,
pub sent: u64,
pub matched_responses: u64,
pub missed_responses: u64,
pub failures: u64,
pub last_error: Option<ErrorKind>,
}Expand description
Immutable counters and last-error classification for an application heartbeat.
Fields§
§state: ApplicationHeartbeatStateCurrent loop state.
sent: u64Number of successful local writes.
matched_responses: u64Number of matched application responses.
missed_responses: u64Number of response deadlines reached without a match.
failures: u64Number of send, receive, matcher, or response failures.
last_error: Option<ErrorKind>Classification of the most recent failure, if any.
Trait Implementations§
Source§impl Clone for ApplicationHeartbeatSnapshot
impl Clone for ApplicationHeartbeatSnapshot
impl Copy for ApplicationHeartbeatSnapshot
Source§impl Debug for ApplicationHeartbeatSnapshot
impl Debug for ApplicationHeartbeatSnapshot
impl Eq for ApplicationHeartbeatSnapshot
impl StructuralPartialEq for ApplicationHeartbeatSnapshot
Auto Trait Implementations§
impl Forget for ApplicationHeartbeatSnapshot
impl Freeze for ApplicationHeartbeatSnapshot
impl Move for ApplicationHeartbeatSnapshot
impl RefUnwindSafe for ApplicationHeartbeatSnapshot
impl Send for ApplicationHeartbeatSnapshot
impl Sync for ApplicationHeartbeatSnapshot
impl Unpin for ApplicationHeartbeatSnapshot
impl UnsafeUnpin for ApplicationHeartbeatSnapshot
impl UnwindSafe for ApplicationHeartbeatSnapshot
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