pub enum IsolationCapability {
Show 19 variants
ReadOnlyRoot,
WritableLayer,
MountReadOnlyEnforcement,
SingleFileMountExpansionAudit,
NoNetworkGuarantee,
EgressAllowlist,
SecretIsolation,
SecretMount,
SecretRedaction,
ProcessTimeout,
ProcessSignal,
ProcessRlimits,
ContentRefIo,
IoRedaction,
ProcessStats,
Cleanup,
Detach,
Reclaim,
AuditLog,
}Expand description
Enumerates the finite isolation capability cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
ReadOnlyRoot
Use this variant when the contract needs to represent read only root; selecting it has no side effect by itself.
WritableLayer
Use this variant when the contract needs to represent writable layer; selecting it has no side effect by itself.
MountReadOnlyEnforcement
Use this variant when the contract needs to represent mount read only enforcement; selecting it has no side effect by itself.
SingleFileMountExpansionAudit
Use this variant when the contract needs to represent single file mount expansion audit; selecting it has no side effect by itself.
NoNetworkGuarantee
Use this variant when the contract needs to represent no network guarantee; selecting it has no side effect by itself.
EgressAllowlist
Use this variant when the contract needs to represent egress allowlist; selecting it has no side effect by itself.
SecretIsolation
Use this variant when the contract needs to represent secret isolation; selecting it has no side effect by itself.
SecretMount
Use this variant when the contract needs to represent secret mount; selecting it has no side effect by itself.
SecretRedaction
Use this variant when the contract needs to represent secret redaction; selecting it has no side effect by itself.
ProcessTimeout
Use this variant when the contract needs to represent process timeout; selecting it has no side effect by itself.
ProcessSignal
Use this variant when the contract needs to represent process signal; selecting it has no side effect by itself.
ProcessRlimits
Use this variant when the contract needs to represent process rlimits; selecting it has no side effect by itself.
ContentRefIo
Use this variant when the contract needs to represent content ref io; selecting it has no side effect by itself.
IoRedaction
Use this variant when the contract needs to represent io redaction; selecting it has no side effect by itself.
ProcessStats
Use this variant when the contract needs to represent process stats; selecting it has no side effect by itself.
Cleanup
Use this variant when the contract needs to represent cleanup; selecting it has no side effect by itself.
Detach
Use this variant when the contract needs to represent detach; selecting it has no side effect by itself.
Reclaim
Use this variant when the contract needs to represent reclaim; selecting it has no side effect by itself.
AuditLog
Use this variant when the contract needs to represent audit log; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for IsolationCapability
impl Clone for IsolationCapability
Source§fn clone(&self) -> IsolationCapability
fn clone(&self) -> IsolationCapability
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IsolationCapability
impl Debug for IsolationCapability
Source§impl<'de> Deserialize<'de> for IsolationCapability
impl<'de> Deserialize<'de> for IsolationCapability
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>,
Source§impl FromIterator<IsolationCapability> for IsolationCapabilitySet
impl FromIterator<IsolationCapability> for IsolationCapabilitySet
Source§fn from_iter<T: IntoIterator<Item = IsolationCapability>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = IsolationCapability>>(iter: T) -> Self
Source§impl Hash for IsolationCapability
impl Hash for IsolationCapability
Source§impl Ord for IsolationCapability
impl Ord for IsolationCapability
Source§fn cmp(&self, other: &IsolationCapability) -> Ordering
fn cmp(&self, other: &IsolationCapability) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for IsolationCapability
impl PartialEq for IsolationCapability
Source§fn eq(&self, other: &IsolationCapability) -> bool
fn eq(&self, other: &IsolationCapability) -> bool
self and other values to be equal, and is used by ==.