pub trait TaskBox: Send + 'static { // Required method fn run_box(self: Box<Self>); }
A version of Task intended to use as a trait object
Task
Run the task