#[repr(transparent)]pub struct Microseconds(i64);Available on crate feature
daemon only.Tuple Fields§
§0: i64Trait Implementations§
Source§impl Clone for Microseconds
impl Clone for Microseconds
Source§fn clone(&self) -> Microseconds
fn clone(&self) -> Microseconds
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 Microseconds
impl Debug for Microseconds
Source§impl From<Microseconds> for Duration
impl From<Microseconds> for Duration
Source§fn from(value: Microseconds) -> Self
fn from(value: Microseconds) -> Self
Converts to this type from the input type.
Source§impl From<Microseconds> for i64
impl From<Microseconds> for i64
Source§fn from(value: Microseconds) -> Self
fn from(value: Microseconds) -> Self
Converts to this type from the input type.
Source§impl From<i64> for Microseconds
impl From<i64> for Microseconds
Source§impl Hash for Microseconds
impl Hash for Microseconds
Source§impl NixDeserialize for Microseconds
impl NixDeserialize for Microseconds
Source§impl NixSerialize for Microseconds
impl NixSerialize for Microseconds
Source§impl PartialEq for Microseconds
impl PartialEq for Microseconds
Source§fn eq(&self, other: &Microseconds) -> bool
fn eq(&self, other: &Microseconds) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<Duration> for Microseconds
impl TryFrom<Duration> for Microseconds
impl Copy for Microseconds
impl Eq for Microseconds
impl StructuralPartialEq for Microseconds
Auto Trait Implementations§
impl Freeze for Microseconds
impl RefUnwindSafe for Microseconds
impl Send for Microseconds
impl Sync for Microseconds
impl Unpin for Microseconds
impl UnsafeUnpin for Microseconds
impl UnwindSafe for Microseconds
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.