pub struct MmapStats {
pub cached_entries: usize,
pub total_cached_size: u64,
pub max_entries: usize,
pub threshold_bytes: u64,
}Expand description
mmap 缓存统计信息
Fields§
§cached_entries: usize缓存的条目数量
total_cached_size: u64缓存的总大小(字节)
max_entries: usize最大条目数量
threshold_bytes: u64使用 mmap 的阈值
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MmapStats
impl RefUnwindSafe for MmapStats
impl Send for MmapStats
impl Sync for MmapStats
impl Unpin for MmapStats
impl UnwindSafe for MmapStats
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