pub trait ExecuteQuery<Request> {
type Response;
// Required methods
fn query<'life0, 'async_trait>(
&'life0 self,
request: Request
) -> Pin<Box<dyn Future<Output = Self::Response> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn query_with_retry<'life0, 'async_trait>(
&'life0 self,
request: Request
) -> Pin<Box<dyn Future<Output = Self::Response> + Send + 'async_trait>>
where Request: Clone + Send + Sync + 'async_trait,
Self::Response: Send,
Self: 'async_trait,
'life0: 'async_trait;
fn query_with_policy<'life0, 'async_trait, Policy>(
&'life0 self,
request: Request,
policy: Policy
) -> Pin<Box<dyn Future<Output = Self::Response> + Send + 'async_trait>>
where Request: Clone + Send + Sync + 'async_trait,
Policy: RetryPolicy<Self::Response, Self::Response> + Send + 'async_trait,
Self::Response: Send,
Self: 'async_trait,
'life0: 'async_trait;
}