pub trait TransformQuery:
Send
+ Sync
+ DynClone {
// Required method
fn transform_query<'life0, 'async_trait>(
&'life0 self,
query: Query<Pending>,
) -> Pin<Box<dyn Future<Output = Result<Query<Pending>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
// Provided method
fn name(&self) -> &'static str { ... }
}
Expand description
Can transform queries before retrieval