pub trait TaskSubscriber: Send + Sync {
// Required method
fn on_event(&self, task_name: &'static str, event: TaskEvent);
}Expand description
Trait for observers that want to react to task events.
Required Methods§
Implementors§
impl TaskSubscriber for ConsoleSubscriber
Available on crate feature
std only.