pub trait Reschedule: Backend {
// Required method
fn reschedule(
&mut self,
task: Task<Self::Args, Self::Context, Self::IdType>,
wait: Duration,
) -> impl Future<Output = Result<(), Self::Error>> + Send;
}Expand description
Allows rescheduling a task for later execution
Required Methods§
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.