Skip to main content

KeyFn

Type Alias KeyFn 

Source
pub type KeyFn = Arc<dyn Fn(&Request) -> String + Send + Sync>;
Expand description

Key extractor for rate limiting.

Aliased Typeยง

pub struct KeyFn { /* private fields */ }