pub trait ClassifiedWorkerFactory<C, W>:
Send
+ Sync
+ 'staticwhere
C: WorkerClassification,
W: ClassifiedWorker<C>,{
// Required method
fn create<'life0, 'async_trait>(
&'life0 self,
c: Option<C>,
) -> Pin<Box<dyn Future<Output = Result<W, Error<PoolErrorCode>>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}