pub struct SetSamplingIntervalParams {
pub interval: i64,
}Expand description
Changes CPU profiler sampling interval. Must be called before CPU profiles recording started. setSamplingInterval
Fields§
§interval: i64New sampling interval in microseconds.
Implementations§
Trait Implementations§
Source§impl Clone for SetSamplingIntervalParams
impl Clone for SetSamplingIntervalParams
Source§fn clone(&self) -> SetSamplingIntervalParams
fn clone(&self) -> SetSamplingIntervalParams
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 SetSamplingIntervalParams
impl Debug for SetSamplingIntervalParams
Source§impl<'de> Deserialize<'de> for SetSamplingIntervalParams
impl<'de> Deserialize<'de> for SetSamplingIntervalParams
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
impl StructuralPartialEq for SetSamplingIntervalParams
Auto Trait Implementations§
impl Freeze for SetSamplingIntervalParams
impl RefUnwindSafe for SetSamplingIntervalParams
impl Send for SetSamplingIntervalParams
impl Sync for SetSamplingIntervalParams
impl Unpin for SetSamplingIntervalParams
impl UnsafeUnpin for SetSamplingIntervalParams
impl UnwindSafe for SetSamplingIntervalParams
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