pub struct Stat(_);
Expand description
Environment statistics.
Contains information about the size and layout of an LMDB environment.
Implementations§
source§impl Stat
impl Stat
sourcepub fn page_size(&self) -> u32
pub fn page_size(&self) -> u32
Size of a database page. This is the same for all databases in the environment.
sourcepub fn branch_pages(&self) -> usize
pub fn branch_pages(&self) -> usize
Number of internal (non-leaf) pages.
sourcepub fn leaf_pages(&self) -> usize
pub fn leaf_pages(&self) -> usize
Number of leaf pages.
sourcepub fn overflow_pages(&self) -> usize
pub fn overflow_pages(&self) -> usize
Number of overflow pages.