pub trait TaskGroupScheduler {
// Required method
fn schedule<T: TaskGroup>(
&self,
task_group: T,
initial: Duration,
interval: Duration,
) -> Arc<T>;
}
Expand description
Allows the execution of a TaskGroup
.
Required Methods§
fn schedule<T: TaskGroup>( &self, task_group: T, initial: Duration, interval: Duration, ) -> Arc<T>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.