pub enum SandboxDecision {
Off,
Enforce(SandboxBackend),
UnsupportedWarn,
}Expand description
How a role’s enforce setting maps onto the current platform.
Variants§
Off
Enforcement is off; no sandbox is attached.
Enforce(SandboxBackend)
Enforcement is requested and the platform supports it.
UnsupportedWarn
Enforcement is requested but the platform can’t honor it; run-level callers must refuse rather than proceed unsandboxed.
Trait Implementations§
Source§impl Clone for SandboxDecision
impl Clone for SandboxDecision
Source§fn clone(&self) -> SandboxDecision
fn clone(&self) -> SandboxDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SandboxDecision
Source§impl Debug for SandboxDecision
impl Debug for SandboxDecision
impl Eq for SandboxDecision
Source§impl PartialEq for SandboxDecision
impl PartialEq for SandboxDecision
impl StructuralPartialEq for SandboxDecision
Auto Trait Implementations§
impl Freeze for SandboxDecision
impl RefUnwindSafe for SandboxDecision
impl Send for SandboxDecision
impl Sync for SandboxDecision
impl Unpin for SandboxDecision
impl UnsafeUnpin for SandboxDecision
impl UnwindSafe for SandboxDecision
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