pub struct StartSamplingParamsBuilder { /* private fields */ }Implementations§
Source§impl StartSamplingParamsBuilder
impl StartSamplingParamsBuilder
Sourcepub fn sampling_interval(self, sampling_interval: i64) -> Self
pub fn sampling_interval(self, sampling_interval: i64) -> Self
Average number of bytes between samples.
Sourcepub fn suppress_randomness(self, suppress_randomness: bool) -> Self
pub fn suppress_randomness(self, suppress_randomness: 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