pub struct DatabaseStats {
pub btree: BtreeStats,
}Expand description
Base statistics type for a database.
Implements abstract DatabaseStats. All concrete database stats in
Noxu are represented by BtreeStats.
Fields§
§btree: BtreeStatsB-tree statistics for this database.
Implementations§
Source§impl DatabaseStats
impl DatabaseStats
Sourcepub fn get_btree_stats(&self) -> &BtreeStats
pub fn get_btree_stats(&self) -> &BtreeStats
Returns the B-tree statistics.
Trait Implementations§
Source§impl Clone for DatabaseStats
impl Clone for DatabaseStats
Source§fn clone(&self) -> DatabaseStats
fn clone(&self) -> DatabaseStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DatabaseStats
impl Debug for DatabaseStats
Source§impl Default for DatabaseStats
impl Default for DatabaseStats
Source§fn default() -> DatabaseStats
fn default() -> DatabaseStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DatabaseStats
impl RefUnwindSafe for DatabaseStats
impl Send for DatabaseStats
impl Sync for DatabaseStats
impl Unpin for DatabaseStats
impl UnsafeUnpin for DatabaseStats
impl UnwindSafe for DatabaseStats
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