pub struct PtpStamp(/* private fields */);Expand description
Newtype storing time as number of nanoseconds since Jan 1, 1970 in UTC.
This is the lower 64 bits of the 80 bit PTP timestamp.
Implementations§
Trait Implementations§
Source§impl Ord for PtpStamp
impl Ord for PtpStamp
Source§impl PartialOrd for PtpStamp
impl PartialOrd for PtpStamp
impl Eq for PtpStamp
impl StructuralPartialEq for PtpStamp
Auto Trait Implementations§
impl Freeze for PtpStamp
impl RefUnwindSafe for PtpStamp
impl Send for PtpStamp
impl Sync for PtpStamp
impl Unpin for PtpStamp
impl UnsafeUnpin for PtpStamp
impl UnwindSafe for PtpStamp
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.