pub struct GetSamplingProfileReturn { /* private fields */ }Available on crate features
experimental and HeapProfiler and Runtime only.Implementations§
Source§impl GetSamplingProfileReturn
impl GetSamplingProfileReturn
pub fn new(profile: SamplingHeapProfile) -> Self
Sourcepub fn profile(&self) -> &SamplingHeapProfile
pub fn profile(&self) -> &SamplingHeapProfile
Return the sampling profile being collected.
Methods from Deref<Target = SamplingHeapProfile>§
pub fn head(&self) -> &SamplingHeapProfileNode
pub fn samples(&self) -> &[SamplingHeapProfileSample]
Trait Implementations§
Source§impl Clone for GetSamplingProfileReturn
impl Clone for GetSamplingProfileReturn
Source§fn clone(&self) -> GetSamplingProfileReturn
fn clone(&self) -> GetSamplingProfileReturn
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 GetSamplingProfileReturn
impl Debug for GetSamplingProfileReturn
Source§impl Deref for GetSamplingProfileReturn
impl Deref for GetSamplingProfileReturn
Source§impl<'de> Deserialize<'de> for GetSamplingProfileReturn
impl<'de> Deserialize<'de> for GetSamplingProfileReturn
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 GetSamplingProfileReturn
impl RefUnwindSafe for GetSamplingProfileReturn
impl Send for GetSamplingProfileReturn
impl Sync for GetSamplingProfileReturn
impl Unpin for GetSamplingProfileReturn
impl UnwindSafe for GetSamplingProfileReturn
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