pub struct ClientGlobalConfig {
pub default_timeout_ms: u64,
pub enable_pooling: bool,
pub pool: PoolConfig,
pub max_retries: usize,
pub retry_delay_ms: u64,
pub connection_timeout_ms: u64,
}Expand description
Client configuration
Fields§
§default_timeout_ms: u64Default timeout for requests
enable_pooling: boolEnable connection pooling by default
pool: PoolConfigPool configuration
max_retries: usizeRetry configuration
retry_delay_ms: u64§connection_timeout_ms: u64Connection timeout
Trait Implementations§
Source§impl Clone for ClientGlobalConfig
impl Clone for ClientGlobalConfig
Source§fn clone(&self) -> ClientGlobalConfig
fn clone(&self) -> ClientGlobalConfig
Returns a duplicate 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 ClientGlobalConfig
impl Debug for ClientGlobalConfig
Source§impl Default for ClientGlobalConfig
impl Default for ClientGlobalConfig
Source§impl<'de> Deserialize<'de> for ClientGlobalConfig
impl<'de> Deserialize<'de> for ClientGlobalConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ClientGlobalConfig
impl RefUnwindSafe for ClientGlobalConfig
impl Send for ClientGlobalConfig
impl Sync for ClientGlobalConfig
impl Unpin for ClientGlobalConfig
impl UnsafeUnpin for ClientGlobalConfig
impl UnwindSafe for ClientGlobalConfig
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