pub struct BucketStats {Show 13 fields
pub branch_page_n: usize,
pub branch_overflow_n: usize,
pub leaf_page_n: usize,
pub leaf_overflow_n: usize,
pub key_n: usize,
pub depth: usize,
pub branch_alloc: usize,
pub branch_in_use: usize,
pub leaf_alloc: usize,
pub leaf_in_use: usize,
pub bucket_n: usize,
pub inline_bucket_n: usize,
pub inline_bucket_in_use: usize,
}Expand description
Records statistics about resources used by a bucket.
Fields§
§branch_page_n: usize§branch_overflow_n: usize§leaf_page_n: usize§leaf_overflow_n: usize§key_n: usize§depth: usize§branch_alloc: usize§branch_in_use: usize§leaf_alloc: usize§leaf_in_use: usize§bucket_n: usize§inline_bucket_n: usize§inline_bucket_in_use: usizeTrait Implementations§
Source§impl AddAssign for BucketStats
impl AddAssign for BucketStats
Source§fn add_assign(&mut self, other: BucketStats)
fn add_assign(&mut self, other: BucketStats)
Performs the
+= operation. 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
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> 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