pub struct DatabaseStat {
pub page_size: u32,
pub depth: u32,
pub branch_pages: usize,
pub leaf_pages: usize,
pub overflow_pages: usize,
pub entries: usize,
}Expand description
Statistics for a database in the environment.
Fields§
§page_size: u32Size of a database page. This is currently the same for all databases.
depth: u32Depth (height) of the B-tree.
branch_pages: usizeNumber of internal (non-leaf) pages
leaf_pages: usizeNumber of leaf pages.
overflow_pages: usizeNumber of overflow pages.
entries: usizeNumber of data items.
Trait Implementations§
Source§impl Clone for DatabaseStat
impl Clone for DatabaseStat
impl Copy for DatabaseStat
Auto Trait Implementations§
impl Freeze for DatabaseStat
impl RefUnwindSafe for DatabaseStat
impl Send for DatabaseStat
impl Sync for DatabaseStat
impl Unpin for DatabaseStat
impl UnsafeUnpin for DatabaseStat
impl UnwindSafe for DatabaseStat
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