pub enum SampleMode {
RunningOnly,
Exact,
}Expand description
Controls whether exact timing samples are retained.
Variants§
RunningOnly
Keep only running statistics; exact medians are not available.
Exact
Retain exact samples for metrics that report exact medians.
Trait Implementations§
Source§impl Clone for SampleMode
impl Clone for SampleMode
Source§fn clone(&self) -> SampleMode
fn clone(&self) -> SampleMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SampleMode
Source§impl Debug for SampleMode
impl Debug for SampleMode
impl Eq for SampleMode
Source§impl PartialEq for SampleMode
impl PartialEq for SampleMode
Source§fn eq(&self, other: &SampleMode) -> bool
fn eq(&self, other: &SampleMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SampleMode
Auto Trait Implementations§
impl Freeze for SampleMode
impl RefUnwindSafe for SampleMode
impl Send for SampleMode
impl Sync for SampleMode
impl Unpin for SampleMode
impl UnsafeUnpin for SampleMode
impl UnwindSafe for SampleMode
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