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>, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
// Provided method
fn name(&self) -> &'static str { ... }
}Expand description
Can transform queries before retrieval
Required Methods§
fn transform_query<'life0, 'async_trait>(
&'life0 self,
query: Query<Pending>,
) -> Pin<Box<dyn Future<Output = Result<Query<Pending>, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Provided Methods§
Trait Implementations§
Source§impl<'clone> Clone for Box<dyn TransformQuery + 'clone>
impl<'clone> Clone for Box<dyn TransformQuery + 'clone>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more