pub trait Runner {
// Required method
fn run(&self, job: Job, cwd: &Path, tmp: &Path) -> Result<Outcome, String>;
// Provided methods
fn ask(&self, _q: &Question) -> Answer { ... }
fn cancelled(&self) -> bool { ... }
fn plan(&self) -> EnvPlan { ... }
fn chat(&self) -> Option<String> { ... }
}Expand description
Runs a sandboxed job for a provider (the tool’s own sandbox, with the support layer).
Required Methods§
Provided Methods§
Sourcefn ask(&self, _q: &Question) -> Answer
fn ask(&self, _q: &Question) -> Answer
Ask the user (see byob_tools::ToolContext::ask).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".