1 2 3 4 5 6
pub trait IScheduler<'a> { fn post<F>(&self, f: F) where F: Fn() + Clone + Send + Sync + 'a; fn abort(&self); }