pub trait AgentAdapter: Send + Sync {
// Required method
fn execute_stage(
&self,
stage: &PlannedStage,
work_dir: &Path,
) -> impl Future<Output = Result<StageResult>> + Send;
}Expand description
Agent adapter trait — implement for each supported agent.
Required Methods§
Sourcefn execute_stage(
&self,
stage: &PlannedStage,
work_dir: &Path,
) -> impl Future<Output = Result<StageResult>> + Send
fn execute_stage( &self, stage: &PlannedStage, work_dir: &Path, ) -> impl Future<Output = Result<StageResult>> + Send
Execute a stage and return the result.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.