pub struct ClockIdentity(pub u64);Expand description
An IEEE 1588 clock identity, as in gptp_grandmaster_id.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Clone for ClockIdentity
impl Clone for ClockIdentity
impl Copy for ClockIdentity
Source§impl Debug for ClockIdentity
impl Debug for ClockIdentity
Source§impl Default for ClockIdentity
impl Default for ClockIdentity
Source§impl Display for ClockIdentity
impl Display for ClockIdentity
impl Eq for ClockIdentity
Source§impl FromStr for ClockIdentity
impl FromStr for ClockIdentity
Source§impl Hash for ClockIdentity
impl Hash for ClockIdentity
Source§impl Ord for ClockIdentity
impl Ord for ClockIdentity
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ClockIdentity
impl PartialEq for ClockIdentity
Source§impl PartialOrd for ClockIdentity
impl PartialOrd for ClockIdentity
impl StructuralPartialEq for ClockIdentity
Auto Trait Implementations§
impl Forget for ClockIdentity
impl Freeze for ClockIdentity
impl Move for ClockIdentity
impl RefUnwindSafe for ClockIdentity
impl Send for ClockIdentity
impl Sync for ClockIdentity
impl Unpin for ClockIdentity
impl UnsafeUnpin for ClockIdentity
impl UnwindSafe for ClockIdentity
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