pub type UrlPredicate = Arc<dyn Fn(&str) -> bool + Send + Sync>;Expand description
Arbitrary URL predicate. Takes the full URL string and returns whether the
matcher accepts it. Must be Send + Sync because matchers cross task
boundaries in the backend route dispatcher.
Aliased Typeยง
pub struct UrlPredicate { /* private fields */ }