pub struct PoolStats {
pub total_allocations: AtomicU64,
pub total_deallocations: AtomicU64,
pub cache_hits: AtomicU64,
pub cache_misses: AtomicU64,
pub cross_cpu_allocations: AtomicU64,
pub pool_refills: AtomicU64,
pub memory_reclaimed: AtomicU64,
}
Expand description
Pool statistics.
Fields§
§total_allocations: AtomicU64
§total_deallocations: AtomicU64
§cache_hits: AtomicU64
§cache_misses: AtomicU64
§cross_cpu_allocations: AtomicU64
§pool_refills: AtomicU64
§memory_reclaimed: AtomicU64
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PoolStats
impl RefUnwindSafe for PoolStats
impl Send for PoolStats
impl Sync for PoolStats
impl Unpin for PoolStats
impl UnwindSafe for PoolStats
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