pub trait RouteMatcherRef { // Required methods fn matches(&self, path: &str) -> bool; fn params(&self, path: &str) -> Params; }
Extracts parameters from a URL path.
Returns whether the given path is a match for the route.
Returns the parameters extracted from the given path.