Trait Pools

Source
pub trait Pools:
    Send
    + Sync
    + 'static {
    // Required method
    fn next<'life0, 'async_trait>(
        &'life0 self,
        seed: u64,
    ) -> Pin<Box<dyn Future<Output = Result<Arc<Pool>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn next<'life0, 'async_trait>( &'life0 self, seed: u64, ) -> Pin<Box<dyn Future<Output = Result<Arc<Pool>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§