pub struct MemorySlot {
pub thread_id: AtomicU64,
pub arena_bytes: AtomicU64,
pub pool_free_count: AtomicU64,
pub pool_capacity: AtomicU64,
pub pool_allocations: AtomicU64,
}Expand description
Statistics for a single thread’s memory usage
Fields§
§thread_id: AtomicU64Thread ID (0 = slot is free)
arena_bytes: AtomicU64Arena allocated bytes
pool_free_count: AtomicU64Pool free node count
pool_capacity: AtomicU64Pool total capacity
pool_allocations: AtomicU64Total allocations from pool (lifetime counter)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for MemorySlot
impl RefUnwindSafe for MemorySlot
impl Send for MemorySlot
impl Sync for MemorySlot
impl Unpin for MemorySlot
impl UnwindSafe for MemorySlot
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more