pub struct FlushStats {
pub num_flushed: Saturating<usize>,
pub num_purged: Saturating<usize>,
pub total_size: Saturating<u64>,
pub store_accounts_timing: StoreAccountsTiming,
pub store_accounts_total_us: Saturating<u64>,
}
Fields§
§num_flushed: Saturating<usize>
§num_purged: Saturating<usize>
§total_size: Saturating<u64>
§store_accounts_timing: StoreAccountsTiming
§store_accounts_total_us: Saturating<u64>
Implementations§
Source§impl FlushStats
impl FlushStats
pub fn accumulate(&mut self, other: &Self)
Trait Implementations§
Source§impl Debug for FlushStats
impl Debug for FlushStats
Source§impl Default for FlushStats
impl Default for FlushStats
Source§fn default() -> FlushStats
fn default() -> FlushStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FlushStats
impl RefUnwindSafe for FlushStats
impl Send for FlushStats
impl Sync for FlushStats
impl Unpin for FlushStats
impl UnwindSafe for FlushStats
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more