pub trait Pool {
type Park: Park;
// Required methods
fn push(&self, task: Task);
fn take_ready(&self) -> Option<Task>;
fn is_empty(&self) -> bool;
}Expand description
A local task queue. take_ready must remove the highest-priority ready task.