Trait TileReader

Source
pub trait TileReader:
    DynClone
    + Send
    + Sync {
    // Required method
    fn get_tile<'life0, 'life1, 'async_trait>(
        &'life0 self,
        xyz: &'life1 Xyz,
    ) -> Pin<Box<dyn Future<Output = Result<Option<TileResponse>, TileStoreError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn get_tile<'life0, 'life1, 'async_trait>( &'life0 self, xyz: &'life1 Xyz, ) -> Pin<Box<dyn Future<Output = Result<Option<TileResponse>, TileStoreError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Lookup tile and return Read stream, if found

Implementors§