Trait tabox::Sandbox[][src]

pub trait Sandbox {
    fn run(config: SandboxConfiguration) -> Result<Self>
    where
        Self: Sized
;
fn wait(self) -> Result<SandboxExecutionResult>;
fn is_secure() -> bool; }
Expand description

A trait that represents a Sandbox

Required methods

Execute the sandbox

Wait the process to terminate, giving back the execution result

Return true if the sandbox implementation is secure

Implementors