pub trait ExecutionTaskCompletionNotifier: Send {
    // Required methods
    fn notify(&self, notification: ExecutionTaskCompletionNotification);
    fn clone_box(&self) -> Box<dyn ExecutionTaskCompletionNotifier>;
}
Expand description

Allows sending a notification to the scheduler that execution of a task has completed.

Required Methods§

source

fn notify(&self, notification: ExecutionTaskCompletionNotification)

Sends a notification to the scheduler.

source

fn clone_box(&self) -> Box<dyn ExecutionTaskCompletionNotifier>

Trait Implementations§

source§

impl Clone for Box<dyn ExecutionTaskCompletionNotifier>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§