Trait gaol::sandbox::ChildSandboxMethods
[−]
[src]
pub trait ChildSandboxMethods { fn activate(&self) -> Result<(), ()>; }
All platform-specific sandboxes in the child process implement this trait.
Required Methods
fn activate(&self) -> Result<(), ()>
Activates the restrictions in this child process from here on out. Be sure to check the return value!
Implementors
impl ChildSandboxMethods for ChildSandbox