pub enum SandboxMode {
Required,
Disabled,
}Expand description
Whether execution must use containment or was explicitly overridden by a caller.
Variants§
Required
Fail closed unless the requested policy can be enforced.
Disabled
Explicit programmatic override. Checked-in configuration cannot select this mode.
Trait Implementations§
Source§impl Clone for SandboxMode
impl Clone for SandboxMode
impl Copy for SandboxMode
Source§impl Debug for SandboxMode
impl Debug for SandboxMode
impl Eq for SandboxMode
Source§impl PartialEq for SandboxMode
impl PartialEq for SandboxMode
impl StructuralPartialEq for SandboxMode
Auto Trait Implementations§
impl Forget for SandboxMode
impl Freeze for SandboxMode
impl Move for SandboxMode
impl RefUnwindSafe for SandboxMode
impl Send for SandboxMode
impl Sync for SandboxMode
impl Unpin for SandboxMode
impl UnsafeUnpin for SandboxMode
impl UnwindSafe for SandboxMode
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