[−][src]Trait transact::scheduler::multi::SubSchedulerHandler
The MultiScheduler will send the task iterators and notifiers of its sub-schedulers to the struct that implements this trait.
Required methods
fn pass_scheduler(
&mut self,
task_iterator: Box<dyn Iterator<Item = ExecutionTask> + Send>,
notifier: Box<dyn ExecutionTaskCompletionNotifier>
) -> Result<(), String>
&mut self,
task_iterator: Box<dyn Iterator<Item = ExecutionTask> + Send>,
notifier: Box<dyn ExecutionTaskCompletionNotifier>
) -> Result<(), String>
Gives the task iterator and notifier of a sub-scheduler to the sub-scheduler handler; the sub-scheduler handler will get tasks directly from the sub-scheduler and send task execution reults back to the sub-scheduler.
Implementors
impl SubSchedulerHandler for Executor
[src]
fn pass_scheduler(
&mut self,
task_iterator: Box<dyn Iterator<Item = ExecutionTask> + Send>,
notifier: Box<dyn ExecutionTaskCompletionNotifier>
) -> Result<(), String>
[src]
&mut self,
task_iterator: Box<dyn Iterator<Item = ExecutionTask> + Send>,
notifier: Box<dyn ExecutionTaskCompletionNotifier>
) -> Result<(), String>