pub trait DefaultConstructibleHttpClient: HttpClient {
// Required method
fn default() -> Self;
}
Available on crate feature
client
only.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.
Implementations on Foreign Types§
Source§impl DefaultConstructibleHttpClient for Client<HttpsConnector<HttpConnector>, Full<Bytes>>
Available on crate feature hyper-native-tls
only.
impl DefaultConstructibleHttpClient for Client<HttpsConnector<HttpConnector>, Full<Bytes>>
Available on crate feature
hyper-native-tls
only.fn default() -> Client<HttpsConnector<HttpConnector>, Full<Bytes>>
Source§impl DefaultConstructibleHttpClient for Client<HttpConnector, Full<Bytes>>
Available on crate feature hyper
only.
impl DefaultConstructibleHttpClient for Client<HttpConnector, Full<Bytes>>
Available on crate feature
hyper
only.