pub struct StartSamplingParamsBuilder { /* private fields */ }Implementations§
Source§impl StartSamplingParamsBuilder
impl StartSamplingParamsBuilder
Sourcepub fn samplingInterval(self, samplingInterval: i64) -> Self
pub fn samplingInterval(self, samplingInterval: i64) -> Self
Average number of bytes between samples.
Sourcepub fn suppressRandomness(self, suppressRandomness: bool) -> Self
pub fn suppressRandomness(self, suppressRandomness: bool) -> Self
Do not randomize intervals between samples.
pub fn build(self) -> StartSamplingParams
Trait Implementations§
Source§impl Default for StartSamplingParamsBuilder
impl Default for StartSamplingParamsBuilder
Source§fn default() -> StartSamplingParamsBuilder
fn default() -> StartSamplingParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StartSamplingParamsBuilder
impl RefUnwindSafe for StartSamplingParamsBuilder
impl Send for StartSamplingParamsBuilder
impl Sync for StartSamplingParamsBuilder
impl Unpin for StartSamplingParamsBuilder
impl UnsafeUnpin for StartSamplingParamsBuilder
impl UnwindSafe for StartSamplingParamsBuilder
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