Trait vector::sinks::util::service::TowerRequestConfigDefaults

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

Provided Associated Constants§

source

const CONCURRENCY: Concurrency = Concurrency::Adaptive

source

const TIMEOUT_SECS: u64 = 60u64

source

const RATE_LIMIT_DURATION_SECS: u64 = 1u64

source

const RATE_LIMIT_NUM: u64 = 9_223_372_036_854_775_807u64

source

const RETRY_ATTEMPTS: usize = 9_223_372_036_854_775_807usize

source

const RETRY_MAX_DURATION_SECS: NonZeroU64 = _

source

const RETRY_INITIAL_BACKOFF_SECS: NonZeroU64 = _

Object Safety§

This trait is not object safe.

Implementors§