pub trait TClient {
// Required methods
fn get<'life0, 'async_trait, S>(
&'life0 self,
uri: S
) -> Pin<Box<dyn Future<Output = Result<Object>> + Send + 'async_trait>>
where S: 'async_trait + Into<String> + Send,
Self: 'async_trait,
'life0: 'async_trait;
fn post<'life0, 'async_trait, S>(
&'life0 self,
uri: S
) -> Pin<Box<dyn Future<Output = Result<Object>> + Send + 'async_trait>>
where S: 'async_trait + Into<String> + Send,
Self: 'async_trait,
'life0: 'async_trait;
fn post_json<'life0, 'life1, 'async_trait, S>(
&'life0 self,
uri: S,
body: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<Object>> + Send + 'async_trait>>
where S: 'async_trait + Into<String> + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}