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§
Sourcefn sandbox_preference(&self) -> SandboxablePreference
fn sandbox_preference(&self) -> SandboxablePreference
Get the sandbox preference for this tool
Sourcefn escalate_on_failure(&self) -> bool
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".