pub struct ParallelExecutor { /* private fields */ }Implementations§
Source§impl ParallelExecutor
impl ParallelExecutor
pub fn new(scopes: &HashMap<String, ScopeDef>, sandbox: SharedSandbox) -> Self
pub fn with_config_manager(self, cm: Option<Arc<ConfigManager>>) -> Self
Trait Implementations§
Source§impl StepExecutor for ParallelExecutor
impl StepExecutor for ParallelExecutor
fn execute<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
step: &'life1 StepDef,
_config: &'life2 StepConfig,
ctx: &'life3 Context,
) -> Pin<Box<dyn Future<Output = Result<StepOutput, StepError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Auto Trait Implementations§
impl Freeze for ParallelExecutor
impl !RefUnwindSafe for ParallelExecutor
impl Send for ParallelExecutor
impl Sync for ParallelExecutor
impl Unpin for ParallelExecutor
impl UnsafeUnpin for ParallelExecutor
impl !UnwindSafe for ParallelExecutor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more