[][src]Trait ena::request::HttpClient

pub trait HttpClient: Sync + Send {
#[must_use]    fn get<'life0, 'life1, 'async_trait, U: IntoUrl + Send>(
        &'life0 self,
        url: U,
        last_modified: Option<&'life1 str>
    ) -> Pin<Box<dyn Future<Output = Result<(String, StatusCode, Vec<u8>), Error>> + Send + 'async_trait>>
    where
        U: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn get<'life0, 'life1, 'async_trait, U: IntoUrl + Send>(
    &'life0 self,
    url: U,
    last_modified: Option<&'life1 str>
) -> Pin<Box<dyn Future<Output = Result<(String, StatusCode, Vec<u8>), Error>> + Send + 'async_trait>> where
    U: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementations on Foreign Types

impl HttpClient for Client[src]

Implementation of HttpClient for reqwest.

Loading content...

Implementors

impl HttpClient for ena::request::Client<Client>[src]

Implementation of HttpClient for reqwest.

Loading content...