pub trait RawQueryAsync<C>where
C: AsyncClient,{
// Required methods
fn raw_query_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>, ApiError<C::Error>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn raw_query_async_ll<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
inspect_error: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>, ApiError<C::Error>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn raw_query_read_body_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
data: BoxedAsyncRead,
) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>, ApiError<C::Error>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn download_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
) -> Pin<Box<dyn Future<Output = Result<(HeaderMap, BoxedAsyncRead), 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 and return http response. It does know nothing about required authorization, which is handled by the client.
Required Methods§
Sourcefn raw_query_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>, ApiError<C::Error>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn raw_query_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>, ApiError<C::Error>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Perform the query asynchronously against the client.
Sourcefn raw_query_async_ll<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
inspect_error: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>, ApiError<C::Error>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn raw_query_async_ll<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
inspect_error: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>, ApiError<C::Error>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Perform the low level query asynchronously against the client.
Sourcefn raw_query_read_body_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
data: BoxedAsyncRead,
) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>, ApiError<C::Error>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn raw_query_read_body_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
data: BoxedAsyncRead,
) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>, ApiError<C::Error>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Perform the query asynchronously against the client.
Sourcefn download_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
) -> Pin<Box<dyn Future<Output = Result<(HeaderMap, BoxedAsyncRead), ApiError<C::Error>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn download_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
) -> Pin<Box<dyn Future<Output = Result<(HeaderMap, BoxedAsyncRead), ApiError<C::Error>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Perform async call and return response headers with AsyncRead of the body
Implementors§
impl<E, C> RawQueryAsync<C> for E
Raw Query Async implementation