pub trait DefaultConstructibleHttpClient: HttpClient {
// Required method
fn default() -> Self;
}
Expand description
An HTTP client that has a default configuration.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl DefaultConstructibleHttpClient for Hyper
Available on crate feature
hyper
only.impl DefaultConstructibleHttpClient for HyperNativeTls
Available on crate features
hyper
and hyper-native-tls
only.impl DefaultConstructibleHttpClient for Reqwest
Available on crate feature
reqwest
only.