#[non_exhaustive]pub enum CleanupConfidence {
NotGuaranteed,
BestEffortObserved,
KernelOwnedComplete,
}Expand description
Confidence that process cleanup was observed at execution completion.
ⓘ
use tapid_runner::CleanupConfidence;
fn exhaustive(value: CleanupConfidence) {
match value {
CleanupConfidence::NotGuaranteed => {}
CleanupConfidence::BestEffortObserved => {}
CleanupConfidence::KernelOwnedComplete => {}
}
}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.
NotGuaranteed
Cleanup is outside the portable restricted-authority contract.
BestEffortObserved
Cleanup was attempted and observed without complete descendant ownership.
KernelOwnedComplete
A kernel or VM owned the complete process-tree cleanup boundary.
Trait Implementations§
Source§impl Clone for CleanupConfidence
impl Clone for CleanupConfidence
impl Copy for CleanupConfidence
Source§impl Debug for CleanupConfidence
impl Debug for CleanupConfidence
impl Eq for CleanupConfidence
Source§impl PartialEq for CleanupConfidence
impl PartialEq for CleanupConfidence
impl StructuralPartialEq for CleanupConfidence
Auto Trait Implementations§
impl Forget for CleanupConfidence
impl Freeze for CleanupConfidence
impl Move for CleanupConfidence
impl RefUnwindSafe for CleanupConfidence
impl Send for CleanupConfidence
impl Sync for CleanupConfidence
impl Unpin for CleanupConfidence
impl UnsafeUnpin for CleanupConfidence
impl UnwindSafe for CleanupConfidence
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