#[repr(C)]pub struct MDB_stat {
pub ms_psize: c_uint,
pub ms_depth: c_uint,
pub ms_branch_pages: usize,
pub ms_leaf_pages: usize,
pub ms_overflow_pages: usize,
pub ms_entries: usize,
}
Expand description
@brief Statistics for a database in the environment
Fields§
§ms_psize: c_uint
< Size of a database page. This is currently the same for all databases.
ms_depth: c_uint
< Depth (height) of the B-tree
ms_branch_pages: usize
< Number of internal (non-leaf) pages
ms_leaf_pages: usize
< Number of leaf pages
ms_overflow_pages: usize
< Number of overflow pages
ms_entries: usize
< Number of data items
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MDB_stat
impl RefUnwindSafe for MDB_stat
impl Send for MDB_stat
impl Sync for MDB_stat
impl Unpin for MDB_stat
impl UnwindSafe for MDB_stat
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