pub struct StartSampling { /* private fields */ }Expand description
Start collecting native memory profile.
Implementations§
Source§impl StartSampling
impl StartSampling
pub fn new() -> Self
pub fn with_sampling_interval(self, sampling_interval: impl Into<i64>) -> Self
pub fn with_suppress_randomness( self, suppress_randomness: impl Into<bool>, ) -> Self
Trait Implementations§
Source§impl Clone for StartSampling
impl Clone for StartSampling
Source§fn clone(&self) -> StartSampling
fn clone(&self) -> StartSampling
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 Command for StartSampling
impl Command for StartSampling
Source§impl Debug for StartSampling
impl Debug for StartSampling
Auto Trait Implementations§
impl Freeze for StartSampling
impl RefUnwindSafe for StartSampling
impl Send for StartSampling
impl Sync for StartSampling
impl Unpin for StartSampling
impl UnwindSafe for StartSampling
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