pub struct ProviderPoolConfig {
pub circuit_breaker: CircuitBreakerConfig,
pub request_timeout: Duration,
}Expand description
Configuration for the provider pool.
Fields§
§circuit_breaker: CircuitBreakerConfigCircuit breaker config shared across all providers.
request_timeout: DurationTimeout per individual request.
Trait Implementations§
Source§impl Clone for ProviderPoolConfig
impl Clone for ProviderPoolConfig
Source§fn clone(&self) -> ProviderPoolConfig
fn clone(&self) -> ProviderPoolConfig
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 ProviderPoolConfig
impl Debug for ProviderPoolConfig
Auto Trait Implementations§
impl Freeze for ProviderPoolConfig
impl RefUnwindSafe for ProviderPoolConfig
impl Send for ProviderPoolConfig
impl Sync for ProviderPoolConfig
impl Unpin for ProviderPoolConfig
impl UnsafeUnpin for ProviderPoolConfig
impl UnwindSafe for ProviderPoolConfig
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