pub enum EventTimePrecision {
MilliSeconds,
MicroSeconds,
NanoSeconds,
}Expand description
Controls the time precisions of events.
Times are always logged in units of whole milliseconds with optional precision, determining the number of decimal places output by the serializer.
Variants§
MilliSeconds
Logging may contain 1 decimal place to ensure float serialization e.g., 1.0, 2.0,
MicroSeconds
Logged up to 3 decimal places e.g., 1.234, 2.001
NanoSeconds
Logged up to 6 decimal places e.g., 1.234567, 2.001001
Auto Trait Implementations§
impl Freeze for EventTimePrecision
impl RefUnwindSafe for EventTimePrecision
impl Send for EventTimePrecision
impl Sync for EventTimePrecision
impl Unpin for EventTimePrecision
impl UnsafeUnpin for EventTimePrecision
impl UnwindSafe for EventTimePrecision
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