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§
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 = _
Object Safety§
This trait is not object safe.