pub struct TierStats {
pub tier: Tier,
pub count: usize,
pub size_bytes: usize,
pub capacity_bytes: usize,
pub usage_ratio: f32,
}Expand description
Tier statistics
Fields§
§tier: TierThe tier
count: usizeNumber of points in this tier
size_bytes: usizeTotal size in bytes
capacity_bytes: usizeCapacity in bytes
usage_ratio: f32Usage ratio (0.0 to 1.0)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TierStats
impl RefUnwindSafe for TierStats
impl Send for TierStats
impl Sync for TierStats
impl Unpin for TierStats
impl UnsafeUnpin for TierStats
impl UnwindSafe for TierStats
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