Trait Executor

Source
pub trait Executor<T> {
    // Required method
    fn execute<'async_trait>(
        self,
    ) -> Pin<Box<dyn Future<Output = ApiResult<T>> + Send + 'async_trait>>
       where Self: 'async_trait;
}

Required Methods§

Source

fn execute<'async_trait>( self, ) -> Pin<Box<dyn Future<Output = ApiResult<T>> + Send + 'async_trait>>
where Self: 'async_trait,

Implementors§

Source§

impl<ResponseType> Executor<ResponseType> for ApiRequest<'_, ResponseType>
where ResponseType: DeserializeOwned + Send,