pub enum SamplingRegularity {
Regular {
interval_ns: u64,
},
Irregular,
}Expand description
Sampling regularity metadata (not used as lag duration for irregular data).
Variants§
Trait Implementations§
Source§impl Clone for SamplingRegularity
impl Clone for SamplingRegularity
Source§fn clone(&self) -> SamplingRegularity
fn clone(&self) -> SamplingRegularity
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 moreSource§impl Debug for SamplingRegularity
impl Debug for SamplingRegularity
impl Eq for SamplingRegularity
Source§impl PartialEq for SamplingRegularity
impl PartialEq for SamplingRegularity
impl StructuralPartialEq for SamplingRegularity
Auto Trait Implementations§
impl Freeze for SamplingRegularity
impl RefUnwindSafe for SamplingRegularity
impl Send for SamplingRegularity
impl Sync for SamplingRegularity
impl Unpin for SamplingRegularity
impl UnsafeUnpin for SamplingRegularity
impl UnwindSafe for SamplingRegularity
Blanket Implementations§
impl<T> Allocation for T
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