pub trait RequestExecutor<C>where
    C: ApiClient,
{ type Error: Error; fn execute<'life0, 'life1, 'async_trait, A>(
        &'life0 self,
        client: &'life1 C,
        request: ApiRequest<A>,
        id: Option<i64>
    ) -> Pin<Box<dyn Future<Output = Result<A, Self::Error>> + 'async_trait>>
   where
        A: ApiCategoryResponse,
        A: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; fn execute_many<'life0, 'life1, 'async_trait, A>(
        &'life0 self,
        client: &'life1 C,
        request: ApiRequest<A>,
        ids: Vec<i64>
    ) -> Pin<Box<dyn Future<Output = HashMap<i64, Result<A, Self::Error>>> + 'async_trait>>
   where
        A: ApiCategoryResponse,
        A: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required Associated Types

Required Methods

Implementors