Trait Job
blackhole
pub trait Job: Send + 'static { fn run(&mut self) -> Option<Box<dyn Job>>; }
Blackhole
You can return new job from ::run() for it to be run.
::run()
fn run(&mut self) -> Option<Box<dyn Job>>
impl<F> Job for OneTime<F> where F: FnOnce() + Send + 'static,