Trait gaol::sandbox::SandboxMethods [] [src]

pub trait SandboxMethods {
    fn profile(&self) -> &Profile;
    fn start(&self, command: &mut Command) -> Result<Process>;
}

All platform-specific sandboxes implement this trait.

A new sandbox can be created with Sandbox::new(), which all platform-specific sandboxes implement.

Required Methods

Returns this sandbox profile.

Spawns a child process eligible for sandboxing.

Implementors