pub trait LocalExecutorFactory {
type LoadPlan;
type Executor: LocalExecutor;
type Error: ClassifiedExecutionError;
// Required method
fn load(
&self,
plan: &Self::LoadPlan,
artifacts: &[InputBuffer<'_>],
) -> Result<Self::Executor, Self::Error>;
}Expand description
Factory that loads one exact worker-local executor from verified artifacts.
Required Associated Types§
Sourcetype Executor: LocalExecutor
type Executor: LocalExecutor
Loaded executor type.
Sourcetype Error: ClassifiedExecutionError
type Error: ClassifiedExecutionError
Classified load failure.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".