pub struct SetSamplingIntervalParams {
pub interval: i64,
}Expand description
Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
Parameters of Profiler.setSamplingInterval.
Fields§
§interval: i64New sampling interval in microseconds.
Trait Implementations§
Source§impl Clone for SetSamplingIntervalParams
impl Clone for SetSamplingIntervalParams
Source§impl Command for SetSamplingIntervalParams
impl Command for SetSamplingIntervalParams
Source§impl Debug for SetSamplingIntervalParams
impl Debug for SetSamplingIntervalParams
Source§impl Default for SetSamplingIntervalParams
impl Default 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 Forget for SetSamplingIntervalParams
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