ConfigDefaults

Trait ConfigDefaults 

Source
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§

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.

Implementors§

Source§

impl ConfigDefaults for ultrafast_mcp_core::config::TimeoutConfig

Source§

impl ConfigDefaults for NetworkConfig

Source§

impl ConfigDefaults for RetryConfig

Source§

impl ConfigDefaults for ultrafast_mcp_core::config::base::TimeoutConfig