pub struct TimeoutCooperationMetricsSnapshot {
pub cooperative: u64,
pub cooperative_threshold_breach: u64,
pub non_cooperative: u64,
pub not_applicable: u64,
}Expand description
Snapshot of timeout-cooperation metric counters.
Fields§
§cooperative: u64Number of timeout outcomes where cancellation was observed cooperatively.
cooperative_threshold_breach: u64Number of timeout outcomes where cancellation observation breached cadence threshold.
non_cooperative: u64Number of timeout outcomes where cancellation was not observed.
not_applicable: u64Number of outcomes where timeout cooperation did not apply.
Trait Implementations§
Source§impl Clone for TimeoutCooperationMetricsSnapshot
impl Clone for TimeoutCooperationMetricsSnapshot
Source§fn clone(&self) -> TimeoutCooperationMetricsSnapshot
fn clone(&self) -> TimeoutCooperationMetricsSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for TimeoutCooperationMetricsSnapshot
impl Default for TimeoutCooperationMetricsSnapshot
Source§fn default() -> TimeoutCooperationMetricsSnapshot
fn default() -> TimeoutCooperationMetricsSnapshot
Returns the “default value” for a type. Read more
Source§impl PartialEq for TimeoutCooperationMetricsSnapshot
impl PartialEq for TimeoutCooperationMetricsSnapshot
Source§fn eq(&self, other: &TimeoutCooperationMetricsSnapshot) -> bool
fn eq(&self, other: &TimeoutCooperationMetricsSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TimeoutCooperationMetricsSnapshot
impl Eq for TimeoutCooperationMetricsSnapshot
impl StructuralPartialEq for TimeoutCooperationMetricsSnapshot
Auto Trait Implementations§
impl Freeze for TimeoutCooperationMetricsSnapshot
impl RefUnwindSafe for TimeoutCooperationMetricsSnapshot
impl Send for TimeoutCooperationMetricsSnapshot
impl Sync for TimeoutCooperationMetricsSnapshot
impl Unpin for TimeoutCooperationMetricsSnapshot
impl UnsafeUnpin for TimeoutCooperationMetricsSnapshot
impl UnwindSafe for TimeoutCooperationMetricsSnapshot
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