pub trait ConfigDefaults {
// Provided methods
fn default_timeout() -> Duration { ... }
fn default_retries() -> u32 { ... }
fn default_backoff_multiplier() -> f64 { ... }
fn default_host() -> String { ... }
fn default_port() -> u16 { ... }
}Expand description
Common configuration defaults
Provided Methods§
fn default_timeout() -> Duration
fn default_retries() -> u32
fn default_backoff_multiplier() -> f64
fn default_host() -> String
fn default_port() -> u16
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.