pub trait Executor<T>: Send {
// Required method
fn execute<'b>(
&self,
executors: &'b impl Executors,
t: T,
) -> ExecutionResult<'b>;
}
Expand description
Executor trait
Required Methods§
Sourcefn execute<'b>(
&self,
executors: &'b impl Executors,
t: T,
) -> ExecutionResult<'b>
fn execute<'b>( &self, executors: &'b impl Executors, t: T, ) -> ExecutionResult<'b>
Execute the node t
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.