pub struct WorstStaleEntry<T> {
pub element: T,
pub outcome: ElementOutcome,
pub known_index: usize,
pub known_time: Option<Duration>,
pub last_absent_index: Option<usize>,
pub last_absent_time: Option<Duration>,
pub stable_latency_ms: u64,
}Expand description
Detailed info about a stale element (for worst_stale reporting).
Fields§
§element: T§outcome: ElementOutcome§known_index: usizeIndex and time when the element was first known to exist.
known_time: Option<Duration>§last_absent_index: Option<usize>Index and time of the last read that didn’t observe the element.
last_absent_time: Option<Duration>§stable_latency_ms: u64Latency in milliseconds until stable.
Trait Implementations§
Source§impl<T: Clone> Clone for WorstStaleEntry<T>
impl<T: Clone> Clone for WorstStaleEntry<T>
Source§fn clone(&self) -> WorstStaleEntry<T>
fn clone(&self) -> WorstStaleEntry<T>
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<T: Debug> Debug for WorstStaleEntry<T>
impl<T: Debug> Debug for WorstStaleEntry<T>
Source§impl<T: PartialEq> PartialEq for WorstStaleEntry<T>
impl<T: PartialEq> PartialEq for WorstStaleEntry<T>
impl<T: Eq> Eq for WorstStaleEntry<T>
impl<T> StructuralPartialEq for WorstStaleEntry<T>
Auto Trait Implementations§
impl<T> Freeze for WorstStaleEntry<T>where
T: Freeze,
impl<T> RefUnwindSafe for WorstStaleEntry<T>where
T: RefUnwindSafe,
impl<T> Send for WorstStaleEntry<T>where
T: Send,
impl<T> Sync for WorstStaleEntry<T>where
T: Sync,
impl<T> Unpin for WorstStaleEntry<T>where
T: Unpin,
impl<T> UnwindSafe for WorstStaleEntry<T>where
T: UnwindSafe,
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