Skip to main content

Sandboxable

Trait Sandboxable 

Source
pub trait Sandboxable {
    // Provided methods
    fn sandbox_preference(&self) -> SandboxablePreference { ... }
    fn escalate_on_failure(&self) -> bool { ... }
}
Expand description

Trait for tools that can be sandboxed (from Codex)

Provided Methods§

Source

fn sandbox_preference(&self) -> SandboxablePreference

Get the sandbox preference for this tool

Source

fn escalate_on_failure(&self) -> bool

Whether to escalate to unsandboxed execution on failure

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§