#[non_exhaustive]pub enum EnforcementDimension {
Show 14 variants
FilesystemRead,
FilesystemWrite,
Network,
EnvironmentSanitization,
DescriptorHygiene,
SubprocessRestriction,
DescendantAuthorityPropagation,
DescendantLifecycle,
ProcessTreeMembership,
CompleteCleanup,
Timeout,
Output,
ProcessCount,
Memory,
}Expand description
One independently reportable portable enforcement dimension.
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.
FilesystemRead
FilesystemWrite
Network
EnvironmentSanitization
DescriptorHygiene
SubprocessRestriction
DescendantAuthorityPropagation
DescendantLifecycle
ProcessTreeMembership
CompleteCleanup
Timeout
Output
ProcessCount
Memory
Trait Implementations§
Source§impl Clone for EnforcementDimension
impl Clone for EnforcementDimension
impl Copy for EnforcementDimension
Source§impl Debug for EnforcementDimension
impl Debug for EnforcementDimension
impl Eq for EnforcementDimension
Source§impl Ord for EnforcementDimension
impl Ord for EnforcementDimension
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for EnforcementDimension
impl PartialEq for EnforcementDimension
Source§impl PartialOrd for EnforcementDimension
impl PartialOrd for EnforcementDimension
impl StructuralPartialEq for EnforcementDimension
Auto Trait Implementations§
impl Freeze for EnforcementDimension
impl RefUnwindSafe for EnforcementDimension
impl Send for EnforcementDimension
impl Sync for EnforcementDimension
impl Unpin for EnforcementDimension
impl UnsafeUnpin for EnforcementDimension
impl UnwindSafe for EnforcementDimension
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