pub struct AllTimeAllocStats {
pub alloc: usize,
pub dealloc: usize,
pub largest_alloc: usize,
}
Expand description
Statistics for allocations and deallocations made with an AccountingAlloc
for all time, across all threads.
Fields§
§alloc: usize
Count of allocated bytes.
dealloc: usize
Count of deallocated bytes.
largest_alloc: usize
Largest allocation size in bytes.
Trait Implementations§
Source§impl Clone for AllTimeAllocStats
impl Clone for AllTimeAllocStats
Source§fn clone(&self) -> AllTimeAllocStats
fn clone(&self) -> AllTimeAllocStats
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AllTimeAllocStats
impl Debug for AllTimeAllocStats
Source§impl Default for AllTimeAllocStats
impl Default for AllTimeAllocStats
Source§fn default() -> AllTimeAllocStats
fn default() -> AllTimeAllocStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for AllTimeAllocStats
impl PartialEq for AllTimeAllocStats
impl Copy for AllTimeAllocStats
impl Eq for AllTimeAllocStats
impl StructuralPartialEq for AllTimeAllocStats
Auto Trait Implementations§
impl Freeze for AllTimeAllocStats
impl RefUnwindSafe for AllTimeAllocStats
impl Send for AllTimeAllocStats
impl Sync for AllTimeAllocStats
impl Unpin for AllTimeAllocStats
impl UnwindSafe for AllTimeAllocStats
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