Trait Sandbox
pub trait Sandbox: Send + Sync {
// Required methods
fn wrap_command(&self, cmd: &mut Command) -> Result<()>;
fn is_available(&self) -> bool;
fn name(&self) -> &str;
fn description(&self) -> &str;
}Required Methods§
fn wrap_command(&self, cmd: &mut Command) -> Result<()>
fn is_available(&self) -> bool
Sourcefn name(&self) -> &str
fn name(&self) -> &str
Return the human-readable name of this sandbox backend.
Used in logs and diagnostics to identify which isolation strategy is
active (e.g., "firejail", "bubblewrap", "none").
Sourcefn description(&self) -> &str
fn description(&self) -> &str
Return a brief description of the isolation guarantees this sandbox provides. Displayed in status output and health checks so operators can verify the active security posture.