[][src]Trait apple_web_service_isahc_client::Client

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

Required methods

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

Loading content...

Provided methods

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

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

Loading content...

Implementors

impl Client for IsahcClient[src]

Loading content...