Trait RpcTransport
pub trait RpcTransport: Send + Sync {
// Required method
fn post_json_bytes<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 str,
body: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}