pub trait HttpClient {
    // Required method
    fn send<'life0, 'async_trait>(
        &'life0 self,
        req: Request<Vec<u8>>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Vec<u8>>, Box<dyn Error>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn send<'life0, 'async_trait>( &'life0 self, req: Request<Vec<u8>> ) -> Pin<Box<dyn Future<Output = Result<Response<Vec<u8>>, Box<dyn Error>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§