pub struct MemorySlot {
pub thread_id: AtomicU64,
pub arena_bytes: 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
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§
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