pub struct ClientConfig {
pub base_url: Url,
pub timeout: Duration,
pub retry: RetryPolicy,
}Expand description
HTTP transport configuration. Override the base URL for a gateway or a local protocol test; unencrypted HTTP is accepted only on loopback hosts.
Fields§
§base_url: Url§timeout: Duration§retry: RetryPolicyTrait Implementations§
Source§impl Clone for ClientConfig
impl Clone for ClientConfig
Source§impl Debug for ClientConfig
impl Debug for ClientConfig
Auto Trait Implementations§
impl Freeze for ClientConfig
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnsafeUnpin for ClientConfig
impl UnwindSafe for ClientConfig
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