Struct profile_traits::mem::Report
source · pub struct Report {
pub path: Vec<String>,
pub kind: ReportKind,
pub size: usize,
}
Expand description
A single memory-related measurement.
Fields§
§path: Vec<String>
The identifying path for this report.
kind: ReportKind
The report kind.
size: usize
The size, in bytes.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Report
impl<'de> Deserialize<'de> for Report
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnwindSafe for Report
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