pub struct Ready {
pub boot_time_ns: u64,
pub init_time_ns: u64,
pub ready_time_ns: u64,
pub agent_version: String,
}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.
agent_version: StringThe agent’s package version (CARGO_PKG_VERSION), for diagnostics.
Additive and optional: an older agent that predates this field decodes to
an empty string, and an older host ignores it. Empty means unknown. This
is the runtime’s self-reported product version; the protocol generation is
carried separately in the message envelope’s v.