#[repr(u32)]pub enum Precision {
Micro = 0,
Nano = 1,
}
Expand description
Timestamp resolution types
Not all systems and interfaces will necessarily support all of these resolutions when doing live captures; all of them can be requested when reading a safefile.
Variants§
Micro = 0
Use timestamps with microsecond precision. This is the default.
Nano = 1
Use timestamps with nanosecond precision.
Trait Implementations§
source§impl PartialEq for Precision
impl PartialEq for Precision
impl Copy for Precision
impl Eq for Precision
impl StructuralPartialEq for Precision
Auto Trait Implementations§
impl Freeze for Precision
impl RefUnwindSafe for Precision
impl Send for Precision
impl Sync for Precision
impl Unpin for Precision
impl UnwindSafe for Precision
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