pub trait CommandRunner: Send + Sync {
// Required method
fn run(&self, model: &str, prompt: &str) -> Result<String>;
}Expand description
“Run the classifier command and hand back its raw stdout.” The production
impl shells out to claude; tests inject a fake returning canned JSON.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".