pub enum SandboxOutcome {
Resolved,
Inactive,
Engaged,
Succeeded,
Failed,
Degraded,
Denied,
Approved,
Declined,
Unknown,
}Expand description
Finite result of a sandbox decision. Each SandboxDecisionData variant uses a disjoint subset: policy_resolved is resolved | degraded, spawn_completed and permissive_retry_completed are succeeded | failed, enforcement_state is engaged | inactive | failed, access_denied is denied, and escalation decisions are approved | declined.
Variants§
Resolved
The sandbox policy resolved successfully. Describes configuration only and makes no claim that a backend engaged.
Inactive
No sandbox governed the workload.
Engaged
A runtime-owned containment backend accepted the workload. Evidence of engagement, not of verified containment for the workload’s lifetime.
Succeeded
The sandbox operation completed successfully.
Failed
The sandbox operation failed.
Degraded
The sandbox is active with one or more controls weakened by platform limitations or an explicitly selected relaxed mode.
Denied
An enforcement check refused the requested access.
Approved
A request to run outside the process sandbox was granted.
Declined
A request to run outside the process sandbox was not granted.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for SandboxOutcome
impl Clone for SandboxOutcome
Source§impl Debug for SandboxOutcome
impl Debug for SandboxOutcome
Source§impl Default for SandboxOutcome
impl Default for SandboxOutcome
Source§impl<'de> Deserialize<'de> for SandboxOutcome
impl<'de> Deserialize<'de> for SandboxOutcome
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>,
impl Eq for SandboxOutcome
Source§impl PartialEq for SandboxOutcome
impl PartialEq for SandboxOutcome
Source§impl Serialize for SandboxOutcome
impl Serialize for SandboxOutcome
impl StructuralPartialEq for SandboxOutcome
Auto Trait Implementations§
impl Freeze for SandboxOutcome
impl RefUnwindSafe for SandboxOutcome
impl Send for SandboxOutcome
impl Sync for SandboxOutcome
impl Unpin for SandboxOutcome
impl UnsafeUnpin for SandboxOutcome
impl UnwindSafe for SandboxOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.