NodePoolFnTrait

Trait NodePoolFnTrait 

Source
pub trait NodePoolFnTrait:
    Send
    + Sync
    + Debug {
    // Required method
    fn create<'life0, 'life1, 'async_trait>(
        &'life0 self,
        schema: &'life1 Schema,
    ) -> Pin<Box<dyn Future<Output = NodePool> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn create<'life0, 'life1, 'async_trait>( &'life0 self, schema: &'life1 Schema, ) -> Pin<Box<dyn Future<Output = NodePool> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§