pub trait BoxedExecutorBuilder {
// Required method
fn new_boxed_executor<'life0, 'life1, 'async_trait, C>(
source: &'life0 ExecutorBuilder<'life1, C>,
inputs: Vec<BoxedExecutor>,
) -> Pin<Box<dyn Future<Output = Result<BoxedExecutor>> + Send + 'async_trait>>
where C: 'async_trait + BatchTaskContext,
'life0: 'async_trait,
'life1: 'async_trait;
}
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<'life0, 'life1, 'async_trait, C>(
source: &'life0 ExecutorBuilder<'life1, C>,
inputs: Vec<BoxedExecutor>,
) -> Pin<Box<dyn Future<Output = Result<BoxedExecutor>> + Send + 'async_trait>>where
C: 'async_trait + BatchTaskContext,
'life0: 'async_trait,
'life1: 'async_trait,
Object Safety§
This trait is not object safe.