pub enum Nsec {}Expand description
A time unit of nanoseconds.
A Delta<Nsec> stores its value as i64 nanoseconds and can represent
any i64 value, including negative, zero, and positive numbers.
Trait Implementations§
impl Copy for Nsec
impl Eq for Nsec
Source§impl Ord for Nsec
impl Ord for Nsec
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Nsec
impl PartialOrd for Nsec
impl StructuralPartialEq for Nsec
Auto Trait Implementations§
impl Freeze for Nsec
impl RefUnwindSafe for Nsec
impl Send for Nsec
impl Sync for Nsec
impl Unpin for Nsec
impl UnsafeUnpin for Nsec
impl UnwindSafe for Nsec
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