pub struct DatabaseStats { /* private fields */ }
Expand description

Informational storage stats about the database

Implementations

Maximum traversal distance to reach the deepest (key, value) pair, across all tables

Number of free pages remaining

Number of leaf pages that store user data

Number of branch pages in btrees that store user data

Number of bytes consumed by keys and values that have been inserted. Does not include indexing overhead

Number of bytes consumed by keys in internal branch pages, plus other metadata

Number of bytes consumed by fragmentation, both in data pages and internal metadata tables

Number of bytes per page

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.