pub struct Micros;Expand description
Microsecond precision - high precision scale.
Uses 1 tick = 1 microsecond. Provides good precision while reducing the range of tick values. Suitable for:
- Network latency measurements
- General-purpose rate limiting
- Applications requiring sub-millisecond precision
§Overflow Behavior
Can represent durations up to ~584,000 years with u64 ticks. Uses branchless saturation on overflow for optimal performance.
Trait Implementations§
impl Copy for Micros
impl Eq for Micros
impl StructuralPartialEq for Micros
Auto Trait Implementations§
impl Freeze for Micros
impl RefUnwindSafe for Micros
impl Send for Micros
impl Sync for Micros
impl Unpin for Micros
impl UnwindSafe for Micros
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