pub type KeyFn = Arc<dyn Fn(&Request<TakoBody>) -> Option<String> + Sync + Send>;Available on crate feature
plugins only.Expand description
Custom key function: maps a request to a rate-limit bucket id. Returning
None defers to Config::on_unkeyed.
Aliased Typeยง
pub struct KeyFn { /* private fields */ }