pub struct NoSandbox;Expand description
Constrains nothing, and says so.
The honest backend for a provider that does not run real processes: there
is nothing to confine. Reporting None rather than Full is what keeps
require_enforcement meaningful — a deployment that demands an absolute
boundary must not get one from a provider that has no way to impose it.
Trait Implementations§
Source§impl Sandbox for NoSandbox
impl Sandbox for NoSandbox
fn confine(&self, spec: ProcessSpec, _policy: &SandboxPolicy) -> Confined
Auto Trait Implementations§
impl Forget for NoSandbox
impl Freeze for NoSandbox
impl Move for NoSandbox
impl RefUnwindSafe for NoSandbox
impl Send for NoSandbox
impl Sync for NoSandbox
impl Unpin for NoSandbox
impl UnsafeUnpin for NoSandbox
impl UnwindSafe for NoSandbox
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