pub trait UrlMatcher: Send + Sync {
// Required method
fn matches(&self, url: &str) -> bool;
}Expand description
Trait for types that can match URLs.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".