pub struct ReferenceTimeResult {
pub ref_time: u64,
pub system_time: Option<Timestamp>,
}Expand description
The result of a call to GetReferenceTime::now().
Fields§
§ref_time: u64The reference time in 100ns units.
system_time: Option<Timestamp>Optionally, the system time (in UTC, without leap seconds) at the time
ref_time was snapped.
This is returned if the time source is able to cheaply provide a value
synchronized with ref_time. Otherwise, it is None.
Auto Trait Implementations§
impl Freeze for ReferenceTimeResult
impl RefUnwindSafe for ReferenceTimeResult
impl Send for ReferenceTimeResult
impl Sync for ReferenceTimeResult
impl Unpin for ReferenceTimeResult
impl UnsafeUnpin for ReferenceTimeResult
impl UnwindSafe for ReferenceTimeResult
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