vector::sinks::util::service

Trait 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 = _

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§