pub struct CleanupEvidence {Show 13 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>,
}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.
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]]).
Trait Implementations§
Source§impl Clone for CleanupEvidence
impl Clone for CleanupEvidence
Source§fn clone(&self) -> CleanupEvidence
fn clone(&self) -> CleanupEvidence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CleanupEvidence
impl Debug for CleanupEvidence
Source§impl<'de> Deserialize<'de> for CleanupEvidence
impl<'de> Deserialize<'de> for CleanupEvidence
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
impl Eq for CleanupEvidence
Source§impl PartialEq for CleanupEvidence
impl PartialEq for CleanupEvidence
Source§impl Serialize for CleanupEvidence
impl Serialize for CleanupEvidence
impl StructuralPartialEq for CleanupEvidence
Auto Trait Implementations§
impl Freeze for CleanupEvidence
impl RefUnwindSafe for CleanupEvidence
impl Send for CleanupEvidence
impl Sync for CleanupEvidence
impl Unpin for CleanupEvidence
impl UnsafeUnpin for CleanupEvidence
impl UnwindSafe for CleanupEvidence
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