pub struct PlatformSandbox;Expand description
The platform backends behind the contract.
Holds nothing: which backend applies is a fact about the machine, decided
per call by cfg, and the policy arrives as an argument.
Trait Implementations§
Source§impl Sandbox for PlatformSandbox
impl Sandbox for PlatformSandbox
fn confine(&self, spec: ProcessSpec, policy: &SandboxPolicy) -> Confined
Auto Trait Implementations§
impl Forget for PlatformSandbox
impl Freeze for PlatformSandbox
impl Move for PlatformSandbox
impl RefUnwindSafe for PlatformSandbox
impl Send for PlatformSandbox
impl Sync for PlatformSandbox
impl Unpin for PlatformSandbox
impl UnsafeUnpin for PlatformSandbox
impl UnwindSafe for PlatformSandbox
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