pub struct SamplingProfileNode {
pub size: f64,
pub total: f64,
pub stack: Vec<String>,
}Expand description
Heap profile sample.
Fields§
§size: f64Size of the sampled allocation.
total: f64Total bytes attributed to this sample.
stack: Vec<String>Execution stack at the point of allocation.
Trait Implementations§
Source§impl Clone for SamplingProfileNode
impl Clone for SamplingProfileNode
Source§fn clone(&self) -> SamplingProfileNode
fn clone(&self) -> SamplingProfileNode
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 SamplingProfileNode
impl Debug for SamplingProfileNode
Source§impl Default for SamplingProfileNode
impl Default for SamplingProfileNode
Source§fn default() -> SamplingProfileNode
fn default() -> SamplingProfileNode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SamplingProfileNode
impl<'de> Deserialize<'de> for SamplingProfileNode
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 SamplingProfileNode
impl RefUnwindSafe for SamplingProfileNode
impl Send for SamplingProfileNode
impl Sync for SamplingProfileNode
impl Unpin for SamplingProfileNode
impl UnsafeUnpin for SamplingProfileNode
impl UnwindSafe for SamplingProfileNode
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