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