Trait CollectionDatasource

Source
pub trait CollectionDatasource {
    // Required method
    fn setup_collection<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        cfg: &'life1 ConfiguredCollectionCfg,
        extent: Option<CoreExtent>,
    ) -> Pin<Box<dyn Future<Output = Result<FeatureCollection, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn setup_collection<'life0, 'life1, 'async_trait>( &'life0 mut self, cfg: &'life1 ConfiguredCollectionCfg, extent: Option<CoreExtent>, ) -> Pin<Box<dyn Future<Output = Result<FeatureCollection, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementations on Foreign Types§

Source§

impl CollectionDatasource for PgDatasource

Source§

fn setup_collection<'life0, 'life1, 'async_trait>( &'life0 mut self, cfg: &'life1 ConfiguredCollectionCfg, _extent: Option<CoreExtent>, ) -> Pin<Box<dyn Future<Output = Result<FeatureCollection, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§