Trait openstack_sdk::api::QueryAsync
source · pub trait QueryAsync<T, C>where
C: AsyncClient,{
// Required method
fn query_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
) -> Pin<Box<dyn Future<Output = Result<T, ApiError<C::Error>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
A trait which represents an asynchronous query which may be made to a OpenStack service API client that returns deserializable data. It does know nothing about required authorization, which is handled by the client.