Trait http_api_client::RetryableClient[][src]

pub trait RetryableClient: Client {
    fn sleep<'life0, 'async_trait>(
        &'life0 self,
        dur: Duration
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn respond_endpoint_until_done<'life0, 'life1, 'async_trait, EP: RetryableEndpoint + Send + Sync>(
        &'life0 self,
        endpoint: &'life1 EP
    ) -> Pin<Box<dyn Future<Output = Result<EP::ParseResponseOutput, RetryableClientRespondEndpointUntilDoneError<Self::RespondError, EP::RenderRequestError, EP::ParseResponseError>>> + Send + 'async_trait>>
    where
        EP: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: Sync + 'async_trait
, { ... } }

Required methods

Provided methods

Implementors