pub struct HttpClientOptions {
pub max_retries: usize,
pub socket_timeout: Duration,
pub retry_delay: Duration,
pub socket_close_delay: Duration,
}Expand description
Options for configuring the HTTP client
Fields§
§max_retries: usizeMaximum number of retries for read operations
socket_timeout: DurationTimeout duration for socket operations
retry_delay: DurationDelay between retry attempts
socket_close_delay: DurationDelay after closing a socket before proceeding
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HttpClientOptions
impl RefUnwindSafe for HttpClientOptions
impl Send for HttpClientOptions
impl Sync for HttpClientOptions
impl Unpin for HttpClientOptions
impl UnwindSafe for HttpClientOptions
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