pub trait AnyAsyncClient:
Any
+ Send
+ Sync
+ 'static {
// Required methods
fn describe(&self, f: &mut Formatter<'_>) -> Result;
fn request(
&self,
req: Request,
) -> BoxFuture<'_, Result<Pin<Box<dyn AnyAsyncResponse>>>>;
}Available on crate feature
async only.Expand description
Trait for type-erased async HTTP clients.
Automatically implemented for types implementing AsyncClient.