pub enum ClockSync {
Synced,
AgentError(i32),
}Expand description
Outcome of a completed clock-sync round trip.
Both variants prove liveness — the agent accepted the connection, parsed
the frame, and replied — which is what a readiness gate needs. Only
ClockSync::Synced means the guest wall clock was actually set.
Variants§
Synced
The agent set the clock.
AgentError(i32)
The agent answered but could not set the clock (e.g. clock_settime
failed); it carries the agent-reported exit code.
Trait Implementations§
impl Copy for ClockSync
impl Eq for ClockSync
impl StructuralPartialEq for ClockSync
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.