Struct object_store::http::HttpBuilder
source · pub struct HttpBuilder { /* private fields */ }
Expand description
Configure a connection to a generic HTTP server
Implementations§
source§impl HttpBuilder
impl HttpBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new HttpBuilder
with default values.
sourcepub fn with_retry(self, retry_config: RetryConfig) -> Self
pub fn with_retry(self, retry_config: RetryConfig) -> Self
Set the retry configuration
sourcepub fn with_config(self, key: ClientConfigKey, value: impl Into<String>) -> Self
pub fn with_config(self, key: ClientConfigKey, value: impl Into<String>) -> Self
Set individual client configuration without overriding the entire config
sourcepub fn with_client_options(self, options: ClientOptions) -> Self
pub fn with_client_options(self, options: ClientOptions) -> Self
Sets the client options, overriding any already set
Trait Implementations§
source§impl Clone for HttpBuilder
impl Clone for HttpBuilder
source§fn clone(&self) -> HttpBuilder
fn clone(&self) -> HttpBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HttpBuilder
impl Debug for HttpBuilder
source§impl Default for HttpBuilder
impl Default for HttpBuilder
source§fn default() -> HttpBuilder
fn default() -> HttpBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for HttpBuilder
impl Send for HttpBuilder
impl Sync for HttpBuilder
impl Unpin for HttpBuilder
impl UnwindSafe for HttpBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more