pub struct Timestamp {
pub hw_raw_ns: u64,
pub system_synced: Duration,
}Fields§
§hw_raw_ns: u64硬件原始时间戳 (纳秒,单调递增,来源各异)
system_synced: Duration【核心特性】经过 Software PLL 矫正后的系统时间 对齐到 CLOCK_REALTIME 或 CLOCK_MONOTONIC,消除晶振温漂
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Timestamp
impl RefUnwindSafe for Timestamp
impl Send for Timestamp
impl Sync for Timestamp
impl Unpin for Timestamp
impl UnsafeUnpin for Timestamp
impl UnwindSafe for Timestamp
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