pub trait HttpConnector:
Debug
+ Send
+ Sync
+ 'static {
// Required method
fn connect(&self, options: &ClientOptions) -> Result<HttpClient, Error>;
}Available on crate feature
arrow-59 and crate feature cloud and (crate features arrow-58 or arrow-59) only.Expand description
A factory for HttpClient
Required Methods§
Sourcefn connect(&self, options: &ClientOptions) -> Result<HttpClient, Error>
fn connect(&self, options: &ClientOptions) -> Result<HttpClient, Error>
Create a new HttpClient with the provided ClientOptions
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl HttpConnector for ReqwestConnector
Available on not (WASI and WebAssembly).
impl HttpConnector for SpawnedReqwestConnector
Available on non-WebAssembly only.