[−][src]Trait gaol::sandbox::SandboxMethods
All platform-specific sandboxes implement this trait.
A new sandbox can be created with Sandbox::new()
, which all platform-specific sandboxes
implement.
Required methods
fn profile(&self) -> &Profile
Returns this sandbox profile.
fn start(&self, command: &mut Command) -> Result<Process>
Spawns a child process eligible for sandboxing.