pub trait Client {
// 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>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
pretend client
See module level documentation for more information.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".