pub struct CleanupEvidence {Show 14 fields
pub trigger: CleanupTrigger,
pub elapsed_ms: u64,
pub status_deadline_ms: u64,
pub term_grace_ms: u64,
pub kill_grace_ms: u64,
pub reap_grace_ms: Option<u64>,
pub remote_deadline_ms: Option<u64>,
pub verified: bool,
pub already_exited: bool,
pub forced: bool,
pub signals: Vec<SignalEvidence>,
pub error: Option<String>,
pub container_removal: Option<ContainerRemovalEvidence>,
pub device_residuals: Option<Vec<DeviceResidualEvidence>>,
}Fields§
§trigger: CleanupTrigger§elapsed_ms: u64§status_deadline_ms: u64§term_grace_ms: u64§kill_grace_ms: u64§reap_grace_ms: Option<u64>§remote_deadline_ms: Option<u64>§verified: bool§already_exited: bool§forced: bool§signals: Vec<SignalEvidence>§error: Option<String>§container_removal: Option<ContainerRemovalEvidence>Confirmed removal of the process’s container on its launch machine ([[RFC-0003:C-RUNTIME-WORKFLOWS]]); present when the cleanup path attempted to remove a known container — from a running server’s handle, or from a launch failure whose command already named one before any handle existed.
device_residuals: Option<Vec<DeviceResidualEvidence>>Per-device residual compute-memory probes on the process’s launch machine, run after its process cleanup verified ([[RFC-0005:C-EVIDENCE]]); present when the cleanup path probed the assigned devices — a device-less process or an unverified cleanup carries no probe claims.
Implementations§
Source§impl CleanupEvidence
impl CleanupEvidence
Sourcepub fn from_launch_removal(
trigger: CleanupTrigger,
verified: bool,
removal: ContainerRemovalEvidence,
error: Option<String>,
) -> Self
pub fn from_launch_removal( trigger: CleanupTrigger, verified: bool, removal: ContainerRemovalEvidence, error: Option<String>, ) -> Self
Cleanup evidence for a launch failure that removed (or tried to
remove) the container it created. verified is the caller’s
conjunction of process cleanup AND container removal — a confirmed
removal alone is not verified cleanup if the launcher stop was not
confirmed — and the structured outcome names the actual container
([[RFC-0003:C-RUNTIME-WORKFLOWS]]).