Skip to main content

TowerRequestConfigDefaults

Trait TowerRequestConfigDefaults 

Source
pub trait TowerRequestConfigDefaults {
    const CONCURRENCY: Concurrency = Concurrency::Adaptive;
    const TIMEOUT_SECS: u64 = 60;
    const RATE_LIMIT_DURATION_SECS: u64 = 1;
    const RATE_LIMIT_NUM: u64 = _;
    const RETRY_ATTEMPTS: usize = _;
    const RETRY_MAX_DURATION_SECS: NonZeroU64 = _;
    const RETRY_INITIAL_BACKOFF_SECS: NonZeroU64 = _;
}

Provided Associated Constants§

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§