pub struct ClockSample {
pub csms_time: DateTime,
pub at: Instant,
}Expand description
An authoritative timestamp observed in a BootNotificationResponse or
HeartbeatResponse.
A station whose ClockCtrlr.TimeSource is Heartbeat uses this to discipline its clock;
at is the monotonic instant the answer arrived, so the application can subtract the
round-trip.
Fields§
§csms_time: DateTimeThe CSMS’s currentTime.
at: InstantWhen the answer was processed, on the driver’s monotonic clock.
Trait Implementations§
Source§impl Clone for ClockSample
impl Clone for ClockSample
impl Copy for ClockSample
Source§impl Debug for ClockSample
impl Debug for ClockSample
impl Eq for ClockSample
Source§impl PartialEq for ClockSample
impl PartialEq for ClockSample
impl StructuralPartialEq for ClockSample
Auto Trait Implementations§
impl Forget for ClockSample
impl Freeze for ClockSample
impl RefUnwindSafe for ClockSample
impl Send for ClockSample
impl Sync for ClockSample
impl Unpin for ClockSample
impl UnsafeUnpin for ClockSample
impl UnwindSafe for ClockSample
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