Struct Scheduler
task_scheduler
pub struct Scheduler { /* fields omitted */ }
impl Scheduler
fn new() -> Scheduler
fn after_instant<F>(&mut self, instant: Instant, func: F) where F: FnOnce() + Send + 'static,
fn after_duration<F>(&mut self, duration: Duration, func: F) where F: FnOnce() + Send + 'static,