pub struct RegistryStorageStats {
pub pages: usize,
pub entries: usize,
pub shared_pages: usize,
}Expand description
How much storage one registry tree occupies, as page and entry counts. 一棵注册树占用的存储规模,以页与条目计数表示。
Fields§
§pages: usizeEntry-page count of the whole container, shared or not. 整个容器的条目页数,无论是否共享。
entries: usizeNumber of direct entries this registry holds. 该注册机持有的直接条目数。
Pages still backed by a container shared with another registry. 后备容器仍与其他注册机共享的页数。
Trait Implementations§
Source§impl Clone for RegistryStorageStats
impl Clone for RegistryStorageStats
Source§fn clone(&self) -> RegistryStorageStats
fn clone(&self) -> RegistryStorageStats
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 moreimpl Copy for RegistryStorageStats
Source§impl Debug for RegistryStorageStats
impl Debug for RegistryStorageStats
impl Eq for RegistryStorageStats
Source§impl PartialEq for RegistryStorageStats
impl PartialEq for RegistryStorageStats
impl StructuralPartialEq for RegistryStorageStats
Auto Trait Implementations§
impl Freeze for RegistryStorageStats
impl RefUnwindSafe for RegistryStorageStats
impl Send for RegistryStorageStats
impl Sync for RegistryStorageStats
impl Unpin for RegistryStorageStats
impl UnsafeUnpin for RegistryStorageStats
impl UnwindSafe for RegistryStorageStats
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