pub struct TimeSyncSample {
pub offset_ms: i64,
pub delay_ms: u64,
}Expand description
Result of a four-timestamp offset/delay computation.
Fields§
§offset_ms: i64Estimated clock offset in milliseconds from requester to responder.
delay_ms: u64Estimated round-trip path delay in milliseconds.
Trait Implementations§
Source§impl Clone for TimeSyncSample
impl Clone for TimeSyncSample
Source§fn clone(&self) -> TimeSyncSample
fn clone(&self) -> TimeSyncSample
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 TimeSyncSample
Source§impl Debug for TimeSyncSample
impl Debug for TimeSyncSample
impl Eq for TimeSyncSample
Source§impl PartialEq for TimeSyncSample
impl PartialEq for TimeSyncSample
Source§fn eq(&self, other: &TimeSyncSample) -> bool
fn eq(&self, other: &TimeSyncSample) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimeSyncSample
Auto Trait Implementations§
impl Freeze for TimeSyncSample
impl RefUnwindSafe for TimeSyncSample
impl Send for TimeSyncSample
impl Sync for TimeSyncSample
impl Unpin for TimeSyncSample
impl UnsafeUnpin for TimeSyncSample
impl UnwindSafe for TimeSyncSample
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