pub struct SetSamplingIntervalBuilder { /* private fields */ }Expand description
Builder for SetSamplingInterval.
Implementations§
Source§impl SetSamplingIntervalBuilder
impl SetSamplingIntervalBuilder
Sourcepub fn interval<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
pub fn interval<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
New sampling interval in microseconds.
Sourcepub fn build(
&self,
) -> Result<SetSamplingInterval, SetSamplingIntervalBuilderError>
pub fn build( &self, ) -> Result<SetSamplingInterval, SetSamplingIntervalBuilderError>
Trait Implementations§
Source§impl Clone for SetSamplingIntervalBuilder
impl Clone for SetSamplingIntervalBuilder
Source§fn clone(&self) -> SetSamplingIntervalBuilder
fn clone(&self) -> SetSamplingIntervalBuilder
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 moreAuto Trait Implementations§
impl Freeze for SetSamplingIntervalBuilder
impl RefUnwindSafe for SetSamplingIntervalBuilder
impl Send for SetSamplingIntervalBuilder
impl Sync for SetSamplingIntervalBuilder
impl Unpin for SetSamplingIntervalBuilder
impl UnsafeUnpin for SetSamplingIntervalBuilder
impl UnwindSafe for SetSamplingIntervalBuilder
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