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