pub trait RunTask {
// Required method
fn run(
self: Box<Self>,
id: WorkerId,
task_receiver: TaskReceiver,
) -> TaskControlCommand;
}pub trait RunTask {
// Required method
fn run(
self: Box<Self>,
id: WorkerId,
task_receiver: TaskReceiver,
) -> TaskControlCommand;
}