Struct lmdb_zero::Stat [] [src]

pub struct Stat {
    pub psize: u32,
    pub depth: u32,
    pub branch_pages: usize,
    pub leaf_pages: usize,
    pub overflow_pages: usize,
    pub entries: usize,
}

Statistics information about an environment.

Fields

psize: u32

Size of a database page. This is currently the same for all databases.

depth: u32

Depth (height) of the B-tree

branch_pages: usize

Number of internal (non-leaf) pages

leaf_pages: usize

Number of leaf pages

overflow_pages: usize

Number of overflow pages

entries: usize

Number of data items

Trait Implementations

impl Copy for Stat
[src]

impl Clone for Stat
[src]

fn clone(&self) -> Stat

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for Stat
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<MDB_stat> for Stat
[src]

fn from(raw: MDB_stat) -> Stat

Performs the conversion.