pub trait TaskOnce: Send {
fn run_once(self);
fn name(&self) -> &'static str { ... }
}
Expand description
A task that can be run. The name method is for profiling purposes.
pub trait TaskOnce: Send {
fn run_once(self);
fn name(&self) -> &'static str { ... }
}
A task that can be run. The name method is for profiling purposes.