pub struct PagingStats {
pub hits: usize,
pub misses: usize,
pub evictions: usize,
pub bytes_loaded: usize,
pub memory_used: usize,
pub prefetches: usize,
}Expand description
Statistics for paged bundle access.
Fields§
§hits: usizeNumber of page hits (data already in memory).
misses: usizeNumber of page misses (data loaded from disk).
evictions: usizeNumber of page evictions.
bytes_loaded: usizeTotal bytes loaded.
memory_used: usizeCurrent memory usage.
prefetches: usizeNumber of pre-fetches.
Implementations§
Trait Implementations§
Source§impl Clone for PagingStats
impl Clone for PagingStats
Source§fn clone(&self) -> PagingStats
fn clone(&self) -> PagingStats
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 Debug for PagingStats
impl Debug for PagingStats
Source§impl Default for PagingStats
impl Default for PagingStats
Source§fn default() -> PagingStats
fn default() -> PagingStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PagingStats
impl RefUnwindSafe for PagingStats
impl Send for PagingStats
impl Sync for PagingStats
impl Unpin for PagingStats
impl UnwindSafe for PagingStats
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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