Recorder

Trait Recorder 

Source
pub trait Recorder {
    // Required methods
    fn task_created(&self);
    fn task_destroyed(&self, stats: ExecutionStats);
}
Expand description

Trait for tracking task execution stats with MetricsFuture.

Required Methods§

Source

fn task_created(&self)

Reports that a task was created.

Source

fn task_destroyed(&self, stats: ExecutionStats)

Reports task execution stats when it’s dropped.

Implementors§