pub struct TscTimestamp(u64);Expand description
TSC timestamp wrapper for timeout calculations.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Clone for TscTimestamp
impl Clone for TscTimestamp
Source§fn clone(&self) -> TscTimestamp
fn clone(&self) -> TscTimestamp
Returns a copy of the value. Read more
1.0.0 · 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 TscTimestamp
impl Debug for TscTimestamp
Source§impl From<u64> for TscTimestamp
impl From<u64> for TscTimestamp
Source§impl Ord for TscTimestamp
impl Ord for TscTimestamp
Source§fn cmp(&self, other: &TscTimestamp) -> Ordering
fn cmp(&self, other: &TscTimestamp) -> Ordering
1.21.0 · 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 PartialEq for TscTimestamp
impl PartialEq for TscTimestamp
Source§impl PartialOrd for TscTimestamp
impl PartialOrd for TscTimestamp
impl Copy for TscTimestamp
impl Eq for TscTimestamp
impl StructuralPartialEq for TscTimestamp
Auto Trait Implementations§
impl Freeze for TscTimestamp
impl RefUnwindSafe for TscTimestamp
impl Send for TscTimestamp
impl Sync for TscTimestamp
impl Unpin for TscTimestamp
impl UnwindSafe for TscTimestamp
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