Trait swiftide_core::query_traits::TransformQuery
source · pub trait TransformQuery:
Send
+ Sync
+ ToOwned {
// 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;
}
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>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Object Safety§
This trait is not object safe.