pub fn run<F>(&mut self, f: F) -> &mut Self
    where
        F: 'static + FnMut() + Send,
    {
        self.job = Some(Box::new(f));
        self.schedule.start_schedule();
        self
    }
/// Specify a task to run, and schedule its next run
Specify a task to run, and schedule its next run
Specify a task to run and schedule its next run
pub fn run<F>(&mut self, f: F) -> &mut Self
    where
        F: 'static + FnMut() + Send,
    {
        self.job = Some(Box::new(f));
        self.schedule.start_schedule();
        self
    }
pub fn run < F > ( & mut self , f : F ) -> & mut Self where F : ' static + FnMut ( ) + Send , { self . job = Some ( Box :: new ( f ) ) ; self . schedule . start_schedule ( ) ; self }
Specify a task to run, and schedule its next run
Specify a task to run and schedule its next run
&mut self
f
F