pub struct Stats {
pub current: usize,
pub spike: usize,
pub peak: usize,
}
Fields§
§current: usize
The current heap usage of the allocator.
spike: usize
The peak heap usage of the allocator in a short-term duration.
peak: usize
The peak heap usage of the allocator.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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