pub struct CheckpointManifest {Show 13 fields
pub schema: String,
pub checkpoint_id: String,
pub capture_intent: CaptureIntent,
pub architecture: String,
pub geometry: CheckpointGeometry,
pub pause_generation: u64,
pub execution_state: ObjectId,
pub memory: ObjectId,
pub disks: Vec<ObjectId>,
pub owned_volumes: Vec<OwnedVolumeCapture>,
pub devices: Vec<DeviceStateRef>,
pub resources: Vec<ResourceDescriptor>,
pub requires: Vec<String>,
}Expand description
Root manifest binding one complete same-epoch checkpoint.
Fields§
§schema: StringSchema identifier.
checkpoint_id: StringStable checkpoint identity.
capture_intent: CaptureIntentCapture purpose.
architecture: StringGuest architecture.
geometry: CheckpointGeometryImmutable layout required to reconstruct the captured address space and devices.
pause_generation: u64VM-wide pause boundary shared by every captured participant.
execution_state: ObjectIdEncoded hypervisor execution state.
memory: ObjectIdComplete logical memory-generation manifest.
disks: Vec<ObjectId>Sealed disk-generation manifests.
owned_volumes: Vec<OwnedVolumeCapture>Required lifetime-owned backing. Older strict checkpoint readers refuse this field.
devices: Vec<DeviceStateRef>Device transport/state objects.
resources: Vec<ResourceDescriptor>Frozen resource plan used for admission and restore.
requires: Vec<String>Namespaced must-understand extensions.
Implementations§
Source§impl CheckpointManifest
impl CheckpointManifest
Sourcepub fn validate(&self) -> ImageResult<()>
pub fn validate(&self) -> ImageResult<()>
Validate structural and same-record invariants.
Sourcepub fn to_canonical_bytes(&self) -> ImageResult<Vec<u8>>
pub fn to_canonical_bytes(&self) -> ImageResult<Vec<u8>>
Serialize this manifest using the repository’s bounded RFC 8785 subset.
Sourcepub fn from_bytes(bytes: &[u8]) -> ImageResult<Self>
pub fn from_bytes(bytes: &[u8]) -> ImageResult<Self>
Parse and validate one complete canonical manifest.
Sourcepub fn digest(&self) -> ImageResult<ObjectId>
pub fn digest(&self) -> ImageResult<ObjectId>
Compute the immutable SHA-256 identity of canonical bytes.
Trait Implementations§
Source§impl Clone for CheckpointManifest
impl Clone for CheckpointManifest
Source§fn clone(&self) -> CheckpointManifest
fn clone(&self) -> CheckpointManifest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more