Struct lmdb_master_sys::MDB_stat
source · #[repr(C)]pub struct MDB_stat {
pub ms_psize: c_uint,
pub ms_depth: c_uint,
pub ms_branch_pages: mdb_size_t,
pub ms_leaf_pages: mdb_size_t,
pub ms_overflow_pages: mdb_size_t,
pub ms_entries: mdb_size_t,
}
Expand description
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: mdb_size_t
< Number of internal (non-leaf) pages
ms_leaf_pages: mdb_size_t
< Number of leaf pages
ms_overflow_pages: mdb_size_t
< Number of overflow pages
ms_entries: mdb_size_t
< 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)