[][src]Trait gaol::sandbox::ChildSandboxMethods

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!

Loading content...

Implementors

impl ChildSandboxMethods for ChildSandbox[src]

Loading content...