pub trait Schedule<M = ()>: Sealed<M> {
// Required method
fn schedule(&self, runnable: Runnable<M>, info: ScheduleInfo);
}
Expand description
The trait for scheduling functions.
Required Methods§
Sourcefn schedule(&self, runnable: Runnable<M>, info: ScheduleInfo)
fn schedule(&self, runnable: Runnable<M>, info: ScheduleInfo)
The actual scheduling procedure.