pub struct ThreadMetric {
pub total_alloc: u64,
pub total_did_free: u64,
pub total_freed: u64,
pub current_used: u64,
pub freed_by_others: BTreeMap<String, u64>,
}Fields§
§total_alloc: u64Total bytes allocated in this thread
total_did_free: u64Total bytes freed in this thread
total_freed: u64Total bytes allocated in this thread that have been freed
current_used: u64Total bytes allocated in this thread that are not freed
freed_by_others: BTreeMap<String, u64>Total bytes allocated in this thread that have been freed by the given thread
Trait Implementations§
Source§impl Clone for ThreadMetric
impl Clone for ThreadMetric
Source§fn clone(&self) -> ThreadMetric
fn clone(&self) -> ThreadMetric
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThreadMetric
impl Debug for ThreadMetric
Source§impl Default for ThreadMetric
impl Default for ThreadMetric
Source§fn default() -> ThreadMetric
fn default() -> ThreadMetric
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ThreadMetric
impl RefUnwindSafe for ThreadMetric
impl Send for ThreadMetric
impl Sync for ThreadMetric
impl Unpin for ThreadMetric
impl UnwindSafe for ThreadMetric
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