pub struct Tid {
micros: u64,
clock_id: u16,
}Expand description
A parsed TID: the timestamp it carries and the clock that minted it.
Fields§
§micros: u64§clock_id: u16Implementations§
Trait Implementations§
Source§impl Ord for Tid
impl Ord for Tid
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 Tid
impl PartialOrd for Tid
impl Copy for Tid
impl Eq for Tid
impl StructuralPartialEq for Tid
Auto Trait Implementations§
impl Freeze for Tid
impl RefUnwindSafe for Tid
impl Send for Tid
impl Sync for Tid
impl Unpin for Tid
impl UnsafeUnpin for Tid
impl UnwindSafe for Tid
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.