pub struct TimeSyncResponseFields {
pub seq: u64,
pub t1_ms: u64,
pub t2_ms: u64,
pub t3_ms: u64,
}Expand description
Decoded fields from a time sync response packet.
Fields§
§seq: u64Sequence number copied from the corresponding request.
t1_ms: u64Original requester transmit timestamp in monotonic milliseconds.
t2_ms: u64Responder receive timestamp in network milliseconds.
t3_ms: u64Responder transmit timestamp in network milliseconds.
Trait Implementations§
Source§impl Clone for TimeSyncResponseFields
impl Clone for TimeSyncResponseFields
Source§fn clone(&self) -> TimeSyncResponseFields
fn clone(&self) -> TimeSyncResponseFields
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 moreimpl Copy for TimeSyncResponseFields
Source§impl Debug for TimeSyncResponseFields
impl Debug for TimeSyncResponseFields
impl Eq for TimeSyncResponseFields
Source§impl PartialEq for TimeSyncResponseFields
impl PartialEq for TimeSyncResponseFields
Source§fn eq(&self, other: &TimeSyncResponseFields) -> bool
fn eq(&self, other: &TimeSyncResponseFields) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimeSyncResponseFields
Auto Trait Implementations§
impl Freeze for TimeSyncResponseFields
impl RefUnwindSafe for TimeSyncResponseFields
impl Send for TimeSyncResponseFields
impl Sync for TimeSyncResponseFields
impl Unpin for TimeSyncResponseFields
impl UnsafeUnpin for TimeSyncResponseFields
impl UnwindSafe for TimeSyncResponseFields
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