pub type KeyFn = Box<dyn Fn(&str, &Value) -> Key + Send + Sync + 'static>;Expand description
A user-supplied key function.
Given a tool name and its args, return a Key that two semantically
identical calls should produce. The default implementation is
default_key_fn. Override it to ignore noisy fields (request_id,
timestamp, etc.) before comparison.
Aliased Typeยง
pub struct KeyFn(/* private fields */);