[][src]Trait apple_web_service_client::Client

pub trait Client {
#[must_use]    fn respond<'life0, 'async_trait>(
        &'life0 self,
        request: Request<Body>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Body>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; #[must_use] fn respond_endpoint<'life0, 'life1, 'async_trait, E: Endpoint + Send + Sync>(
        &'life0 self,
        endpoint: &'life1 mut E
    ) -> Pin<Box<dyn Future<Output = Result<EndpointParseResponseOutput<E::ParseResponseOutput, E::RetryReason>>> + Send + 'async_trait>>
    where
        E: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn respond_endpoint_until_done<'life0, 'life1, 'async_trait, E: Endpoint + Send + Sync>(
        &'life0 self,
        endpoint: &'life1 mut E,
        max_retry_count: Option<u8>
    ) -> Pin<Box<dyn Future<Output = Result<E::ParseResponseOutput>> + Send + 'async_trait>>
    where
        E: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: Sync + 'async_trait
, { ... } }

Required methods

#[must_use]fn respond<'life0, 'async_trait>(
    &'life0 self,
    request: Request<Body>
) -> Pin<Box<dyn Future<Output = Result<Response<Body>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Loading content...

Provided methods

#[must_use]fn respond_endpoint<'life0, 'life1, 'async_trait, E: Endpoint + Send + Sync>(
    &'life0 self,
    endpoint: &'life1 mut E
) -> Pin<Box<dyn Future<Output = Result<EndpointParseResponseOutput<E::ParseResponseOutput, E::RetryReason>>> + Send + 'async_trait>> where
    E: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn respond_endpoint_until_done<'life0, 'life1, 'async_trait, E: Endpoint + Send + Sync>(
    &'life0 self,
    endpoint: &'life1 mut E,
    max_retry_count: Option<u8>
) -> Pin<Box<dyn Future<Output = Result<E::ParseResponseOutput>> + Send + 'async_trait>> where
    E: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: Sync + 'async_trait, 

Loading content...

Implementors

Loading content...