pub struct BucketStats { /* private fields */ }Expand description
BucketStats records statistics about resources used by a bucket.
Implementations§
Source§impl BucketStats
impl BucketStats
Sourcepub fn branch_page_n(&self) -> i64
pub fn branch_page_n(&self) -> i64
number of logical branch pages
Sourcepub fn branch_overflow_n(&self) -> i64
pub fn branch_overflow_n(&self) -> i64
number of physical branch overflow pages
Sourcepub fn leaf_page_n(&self) -> i64
pub fn leaf_page_n(&self) -> i64
number of logical leaf pages
Sourcepub fn leaf_overflow_n(&self) -> i64
pub fn leaf_overflow_n(&self) -> i64
number of physical leaf overflow pages
Sourcepub fn branch_alloc(&self) -> i64
pub fn branch_alloc(&self) -> i64
bytes allocated for physical branch pages
Sourcepub fn branch_in_use(&self) -> i64
pub fn branch_in_use(&self) -> i64
bytes actually used for branch data
Sourcepub fn leaf_alloc(&self) -> i64
pub fn leaf_alloc(&self) -> i64
bytes allocated for physical leaf pages
Sourcepub fn leaf_in_use(&self) -> i64
pub fn leaf_in_use(&self) -> i64
bytes actually used for leaf data
Sourcepub fn inline_bucket_n(&self) -> i64
pub fn inline_bucket_n(&self) -> i64
total number on inlined buckets
Sourcepub fn inline_bucket_in_use(&self) -> i64
pub fn inline_bucket_in_use(&self) -> i64
bytes used for inlined buckets (also accounted for in LeafInuse)
Trait Implementations§
Source§impl AddAssign for BucketStats
impl AddAssign for BucketStats
Source§fn add_assign(&mut self, rhs: BucketStats)
fn add_assign(&mut self, rhs: BucketStats)
Performs the
+= operation. Read moreSource§impl Clone for BucketStats
impl Clone for BucketStats
Source§fn clone(&self) -> BucketStats
fn clone(&self) -> BucketStats
Returns a duplicate of the value. Read more
1.0.0 · 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 BucketStats
impl Debug for BucketStats
Source§impl Default for BucketStats
impl Default for BucketStats
Source§fn default() -> BucketStats
fn default() -> BucketStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for BucketStats
impl PartialEq for BucketStats
impl Copy for BucketStats
impl Eq for BucketStats
impl StructuralPartialEq for BucketStats
Auto Trait Implementations§
impl Freeze for BucketStats
impl RefUnwindSafe for BucketStats
impl Send for BucketStats
impl Sync for BucketStats
impl Unpin for BucketStats
impl UnwindSafe for BucketStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more