pub trait LocalClient {
// Required method
fn execute<'life0, 'async_trait>(
&'life0 self,
method: Method,
url: Url,
headers: HeaderMap,
body: Option<Bytes>,
) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
pretend local client
See module level documentation for more information.
Required Methods§
Implementors§
impl<C> LocalClient for Cwhere
C: Client,
pretend local client
See module level documentation for more information.