WorkerFactory

Trait WorkerFactory 

Source
pub trait WorkerFactory<W>:
    Send
    + Sync
    + 'static
where 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; }

Required Methods§

Source

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,

Implementors§