pub fn build_ip_governor_config(
seconds_per_request: NonZeroU64,
burst_size: NonZeroU32,
trusted_proxies: &[String],
) -> GovernorConfig<TrustedProxyIpKeyExtractor, NoOpMiddleware>Expand description
Builds an Actix governor config using the trusted-proxy-aware IP extractor.
The inputs are non-zero to match the application config model and avoid runtime builder failures.