Skip to main content

TestExecutor

Trait TestExecutor 

Source
pub trait TestExecutor: Send + Sync {
    // Required method
    fn execute(
        &self,
        orch: &Orchestrator,
    ) -> impl Future<Output = Result<(), Error>> + Send;
}
Expand description

Trait for phase execution (allows swapping execution strategies).

Required Methods§

Source

fn execute( &self, orch: &Orchestrator, ) -> impl Future<Output = Result<(), Error>> + Send

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.

Implementors§