[−][src]Trait cloudflare_rs::framework::async_api::ApiClient
Required methods
#[must_use]fn request<'life0, 'life1, 'async_trait, ResultType, QueryType, BodyType>(
&'life0 self,
endpoint: &'life1 (dyn Endpoint<ResultType, QueryType, BodyType> + Send + Sync)
) -> Pin<Box<dyn Future<Output = ApiResponse<ResultType>> + Send + 'async_trait>> where
ResultType: ApiResult,
QueryType: Serialize,
BodyType: Serialize,
ResultType: 'async_trait,
QueryType: 'async_trait,
BodyType: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
endpoint: &'life1 (dyn Endpoint<ResultType, QueryType, BodyType> + Send + Sync)
) -> Pin<Box<dyn Future<Output = ApiResponse<ResultType>> + Send + 'async_trait>> where
ResultType: ApiResult,
QueryType: Serialize,
BodyType: Serialize,
ResultType: 'async_trait,
QueryType: 'async_trait,
BodyType: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Implementors
impl ApiClient for Client[src]
fn request<'life0, 'life1, 'async_trait, ResultType, QueryType, BodyType>(
&'life0 self,
endpoint: &'life1 (dyn Endpoint<ResultType, QueryType, BodyType> + Send + Sync)
) -> Pin<Box<dyn Future<Output = ApiResponse<ResultType>> + Send + 'async_trait>> where
ResultType: ApiResult,
QueryType: Serialize,
BodyType: Serialize,
ResultType: 'async_trait,
QueryType: 'async_trait,
BodyType: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait, [src]
&'life0 self,
endpoint: &'life1 (dyn Endpoint<ResultType, QueryType, BodyType> + Send + Sync)
) -> Pin<Box<dyn Future<Output = ApiResponse<ResultType>> + Send + 'async_trait>> where
ResultType: ApiResult,
QueryType: Serialize,
BodyType: Serialize,
ResultType: 'async_trait,
QueryType: 'async_trait,
BodyType: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
impl ApiClient for MockApiClient[src]
fn request<'life0, 'life1, 'async_trait, ResultType, QueryType, BodyType>(
&'life0 self,
_endpoint: &'life1 (dyn Endpoint<ResultType, QueryType, BodyType> + Send + Sync)
) -> Pin<Box<dyn Future<Output = ApiResponse<ResultType>> + Send + 'async_trait>> where
ResultType: 'async_trait,
QueryType: 'async_trait,
BodyType: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait, [src]
&'life0 self,
_endpoint: &'life1 (dyn Endpoint<ResultType, QueryType, BodyType> + Send + Sync)
) -> Pin<Box<dyn Future<Output = ApiResponse<ResultType>> + Send + 'async_trait>> where
ResultType: 'async_trait,
QueryType: 'async_trait,
BodyType: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,