pub struct Ready {
pub boot_time_ns: u64,
pub init_time_ns: u64,
pub ready_time_ns: u64,
}Expand description
Payload for core.ready messages.
Sent by the guest agent to signal that it has finished initialization and is ready to receive commands. Includes timing data for boot performance measurement.
Fields§
§boot_time_ns: u64CLOCK_BOOTTIME nanoseconds captured at the start of main().
Represents how long the kernel took to boot before userspace started.
init_time_ns: u64Nanoseconds spent in init::init() (mounting filesystems).
ready_time_ns: u64CLOCK_BOOTTIME nanoseconds captured just before sending this message.
Represents total time from kernel boot to agent readiness.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ready
impl<'de> Deserialize<'de> for Ready
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 Ready
impl RefUnwindSafe for Ready
impl Send for Ready
impl Sync for Ready
impl Unpin for Ready
impl UnsafeUnpin for Ready
impl UnwindSafe for Ready
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