#[non_exhaustive]pub enum ContainmentCompletionEvidence {
Empty {
observation: ContainmentObservation,
},
Survivors {
observation: ContainmentObservation,
observed_count: u32,
survivor_pids: Vec<u32>,
},
Unknown {
observation: ContainmentObservation,
},
}Expand description
Point-in-time evidence observed after the final containment cleanup action.
This evidence is independent of leader reap and containment acquisition reliability. Survivor PIDs are evidence only: PID reuse makes them unsafe to pass to process-signaling APIs or treat as suggested cleanup targets.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Empty
A complete supported observation found no live containment members.
Fields
§
observation: ContainmentObservationSurvivors
A complete supported observation found live containment members.
Unknown
A complete, trustworthy observation was unavailable.
Fields
§
observation: ContainmentObservationTrait Implementations§
impl Eq for ContainmentCompletionEvidence
impl StructuralPartialEq for ContainmentCompletionEvidence
Auto Trait Implementations§
impl Forget for ContainmentCompletionEvidence
impl Freeze for ContainmentCompletionEvidence
impl RefUnwindSafe for ContainmentCompletionEvidence
impl Send for ContainmentCompletionEvidence
impl Sync for ContainmentCompletionEvidence
impl Unpin for ContainmentCompletionEvidence
impl UnsafeUnpin for ContainmentCompletionEvidence
impl UnwindSafe for ContainmentCompletionEvidence
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.