pub struct ClockSync {
pub unix_time_nanos: u64,
}Expand description
Payload for core.clock.sync messages.
Sent by the host to ask the guest agent to step CLOCK_REALTIME to the
host’s current wall-clock time.
Fields§
§unix_time_nanos: u64Host Unix timestamp in nanoseconds.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ClockSync
impl<'de> Deserialize<'de> for ClockSync
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ClockSync
impl RefUnwindSafe for ClockSync
impl Send for ClockSync
impl Sync for ClockSync
impl Unpin for ClockSync
impl UnsafeUnpin for ClockSync
impl UnwindSafe for ClockSync
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