pub struct MemStats {
pub used: usize,
pub free: usize,
pub peak: usize,
}Expand description
Memory allocation statistics.
Fields§
§used: usizeBytes currently allocated.
free: usizeBytes still available.
peak: usizeHigh-water mark since init.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemStats
impl RefUnwindSafe for MemStats
impl Send for MemStats
impl Sync for MemStats
impl Unpin for MemStats
impl UnsafeUnpin for MemStats
impl UnwindSafe for MemStats
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