pub trait Adapter: Send + Sync {
// Required methods
fn framework(&self) -> Framework;
fn detect(&self, root: &Path) -> bool;
fn load(&self, root: &Path, ignore_tests: bool) -> Result<Vec<ScanTarget>>;
}Expand description
An adapter detects a specific agent framework and loads its artifacts into the unified IR.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".