pub struct VfkitSandbox { /* private fields */ }Expand description
A macOS backend that runs each command in its own vfkit guest.
Implementations§
Source§impl VfkitSandbox
impl VfkitSandbox
Trait Implementations§
Source§impl Clone for VfkitSandbox
impl Clone for VfkitSandbox
Source§impl Debug for VfkitSandbox
impl Debug for VfkitSandbox
Source§impl Sandbox for VfkitSandbox
impl Sandbox for VfkitSandbox
Source§fn is_isolated(&self) -> bool
fn is_isolated(&self) -> bool
Whether this backend actually enforces isolation. Read more
Source§fn exec(
&self,
spec: &SandboxSpec,
command: &SandboxCommand,
) -> Result<SandboxOutput, SandboxError>
fn exec( &self, spec: &SandboxSpec, command: &SandboxCommand, ) -> Result<SandboxOutput, SandboxError>
Run
command under spec.Auto Trait Implementations§
impl Freeze for VfkitSandbox
impl RefUnwindSafe for VfkitSandbox
impl Send for VfkitSandbox
impl Sync for VfkitSandbox
impl Unpin for VfkitSandbox
impl UnsafeUnpin for VfkitSandbox
impl UnwindSafe for VfkitSandbox
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