pub struct RedbStats {
pub file_bytes: u64,
pub table_count: usize,
pub stored_bytes: u64,
pub entries: u64,
pub reclaimable_bytes: u64,
}Expand description
Point-in-time storage figures for a Redb-backed database file.
Fields§
§file_bytes: u64Size of the .bkndb file on disk.
table_count: usizeNumber of active tables (minimum 1 for an initialized on-disk database).
stored_bytes: u64Bytes stored across all user and system tables (including B-tree metadata).
entries: u64Total key-value entries across all tables.
reclaimable_bytes: u64Reclaimable bytes outside active structures.
Trait Implementations§
impl Eq for RedbStats
impl StructuralPartialEq for RedbStats
Auto Trait Implementations§
impl Freeze for RedbStats
impl RefUnwindSafe for RedbStats
impl Send for RedbStats
impl Sync for RedbStats
impl Unpin for RedbStats
impl UnsafeUnpin for RedbStats
impl UnwindSafe for RedbStats
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