pub trait Runner {
// Required method
fn start<F>(self, f: F) -> F::Output
where F: Future + Send + 'static,
F::Output: Send + 'static;
}
Expand description
Interface that any task scheduler must implement to start running tasks.
Required Methods§
Object Safety§
This trait is not object safe.