pub trait SchedulableTask: Send + Sync {
// Required methods
fn execute(&self, ctx: &TaskContext) -> Result<()>;
fn name(&self) -> &str;
fn priority(&self) -> Priority;
}pub trait SchedulableTask: Send + Sync {
// Required methods
fn execute(&self, ctx: &TaskContext) -> Result<()>;
fn name(&self) -> &str;
fn priority(&self) -> Priority;
}