#[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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes