Trait CollectionSource
Source pub trait CollectionSource:
DynClone
+ Sync
+ Send {
// Required methods
fn items<'life0, 'life1, 'async_trait>(
&'life0 self,
filter: &'life1 FilterParams,
) -> Pin<Box<dyn Future<Output = Result<ItemsResult, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn item<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
collection_id: &'life1 str,
feature_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<CoreFeature>, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn queryables<'life0, 'life1, 'async_trait>(
&'life0 self,
collection_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Queryables>, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}