pub struct HistoryCacheSnapshot {
pub len: usize,
pub evicted: u64,
pub max_sn: Option<SequenceNumber>,
pub min_sn: Option<SequenceNumber>,
}Expand description
Plain-Old-Data-Snapshot der HistoryCache-Statistiken zu einem
einzelnen Zeitpunkt. Wird von HistoryCacheStats::snapshot
erzeugt; jede Komponente ist mit Acquire-Ordering geladen.
Fields§
§len: usizeAnzahl Changes.
evicted: u64Anzahl per KeepLast-Eviction verworfener Samples.
max_sn: Option<SequenceNumber>Hoechste SN, falls vorhanden.
min_sn: Option<SequenceNumber>Niedrigste SN, falls vorhanden.
Trait Implementations§
Source§impl Clone for HistoryCacheSnapshot
impl Clone for HistoryCacheSnapshot
Source§fn clone(&self) -> HistoryCacheSnapshot
fn clone(&self) -> HistoryCacheSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HistoryCacheSnapshot
impl Debug for HistoryCacheSnapshot
Source§impl PartialEq for HistoryCacheSnapshot
impl PartialEq for HistoryCacheSnapshot
Source§fn eq(&self, other: &HistoryCacheSnapshot) -> bool
fn eq(&self, other: &HistoryCacheSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HistoryCacheSnapshot
impl Eq for HistoryCacheSnapshot
impl StructuralPartialEq for HistoryCacheSnapshot
Auto Trait Implementations§
impl Freeze for HistoryCacheSnapshot
impl RefUnwindSafe for HistoryCacheSnapshot
impl Send for HistoryCacheSnapshot
impl Sync for HistoryCacheSnapshot
impl Unpin for HistoryCacheSnapshot
impl UnsafeUnpin for HistoryCacheSnapshot
impl UnwindSafe for HistoryCacheSnapshot
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