pub trait ClassifiedWorker<C>: Send + 'staticwhere
C: WorkerClassification,{
// Required methods
fn is_work(&self) -> bool;
fn is_valid(&self, c: C) -> bool;
fn classification(&self) -> C;
}pub trait ClassifiedWorker<C>: Send + 'staticwhere
C: WorkerClassification,{
// Required methods
fn is_work(&self) -> bool;
fn is_valid(&self, c: C) -> bool;
fn classification(&self) -> C;
}