pub struct SamplingHeapProfileNode {
pub call_frame: CallFrame,
pub self_size: f64,
pub id: i64,
pub children: Vec<SamplingHeapProfileNode>,
}Expand description
Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.
Fields§
§call_frame: CallFrameFunction location.
self_size: f64Allocations size in bytes for the node excluding children.
id: i64Node id. Ids are unique across all profiles collected between startSampling and stopSampling.
children: Vec<SamplingHeapProfileNode>Child nodes.
Trait Implementations§
Source§impl Clone for SamplingHeapProfileNode
impl Clone for SamplingHeapProfileNode
Source§impl Debug for SamplingHeapProfileNode
impl Debug for SamplingHeapProfileNode
Source§impl Default for SamplingHeapProfileNode
impl Default for SamplingHeapProfileNode
Source§impl<'de> Deserialize<'de> for SamplingHeapProfileNode
impl<'de> Deserialize<'de> for SamplingHeapProfileNode
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
Source§impl PartialEq for SamplingHeapProfileNode
impl PartialEq for SamplingHeapProfileNode
Source§impl Serialize for SamplingHeapProfileNode
impl Serialize for SamplingHeapProfileNode
impl StructuralPartialEq for SamplingHeapProfileNode
Auto Trait Implementations§
impl Forget for SamplingHeapProfileNode
impl Freeze for SamplingHeapProfileNode
impl RefUnwindSafe for SamplingHeapProfileNode
impl Send for SamplingHeapProfileNode
impl Sync for SamplingHeapProfileNode
impl Unpin for SamplingHeapProfileNode
impl UnsafeUnpin for SamplingHeapProfileNode
impl UnwindSafe for SamplingHeapProfileNode
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