pub trait HttpClient {
// Required method
fn get<U: IntoUrl + Send + Sync>(
&self,
url: U,
) -> impl Future<Output = Result<impl Stream<Item = Result<Bytes>> + Send + Sync + Unpin>> + Send + Sync;
}Expand description
Accesses the network over HTTP.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".