pub struct BacktraceMetric {
pub allocated: u64,
pub freed: u64,
pub allocations: u64,
pub mode: BacktraceMode,
}Expand description
Allocation information pertaining to a specific backtrace.
Fields§
§allocated: u64Number of bytes allocated
freed: u64Number of bytes allocated here that have since been freed
allocations: u64Number of actual allocations
mode: BacktraceModemode as copied from AllocTrack
Implementations§
Trait Implementations§
Source§impl Clone for BacktraceMetric
impl Clone for BacktraceMetric
Source§fn clone(&self) -> BacktraceMetric
fn clone(&self) -> BacktraceMetric
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 BacktraceMetric
impl Debug for BacktraceMetric
Source§impl Default for BacktraceMetric
impl Default for BacktraceMetric
Source§fn default() -> BacktraceMetric
fn default() -> BacktraceMetric
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BacktraceMetric
impl RefUnwindSafe for BacktraceMetric
impl Send for BacktraceMetric
impl Sync for BacktraceMetric
impl Unpin for BacktraceMetric
impl UnwindSafe for BacktraceMetric
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