Trait swiftide_core::query_traits::TransformResponse
source · pub trait TransformResponse:
Send
+ Sync
+ ToOwned {
// Required method
fn transform_response<'life0, 'async_trait>(
&'life0 self,
query: Query<Retrieved>,
) -> Pin<Box<dyn Future<Output = Result<Query<Retrieved>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Can transform a response after retrieval
Required Methods§
fn transform_response<'life0, 'async_trait>(
&'life0 self,
query: Query<Retrieved>,
) -> Pin<Box<dyn Future<Output = Result<Query<Retrieved>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Object Safety§
This trait is not object safe.