GetPools

Trait GetPools 

Source
pub trait GetPools: CollectData {
    // Provided methods
    fn get_pools<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Vec<PoolData>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
    fn parse_pools(&self, data: &HashMap<DataField, Value>) -> Vec<PoolData> { ... }
}

Provided Methods§

Source

fn get_pools<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Vec<PoolData>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

Source

fn parse_pools(&self, data: &HashMap<DataField, Value>) -> Vec<PoolData>

Implementors§