pub trait BoxedExecutorBuilder {
// Required method
fn new_boxed_executor(
source: &ExecutorBuilder<'_>,
inputs: Vec<BoxedExecutor>,
) -> impl Future<Output = Result<BoxedExecutor>> + Send;
}
Expand description
Every Executor should impl this trait to provide a static method to build a BoxedExecutor
from proto and global environment.
Required Methods§
fn new_boxed_executor( source: &ExecutorBuilder<'_>, inputs: Vec<BoxedExecutor>, ) -> impl Future<Output = Result<BoxedExecutor>> + 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.