pub trait HttpTransport: Send + Sync {
// Required method
fn execute(
&self,
request: Request<Bytes>,
) -> BoxFuture<'_, HttpTransportResult>;
}Expand description
The HTTP transport which the client sends its requests over
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".