pub trait Matcher:
Debug
+ Clone
+ Hash
+ Serialize
+ DeserializeOwned
+ PartialEq {
// Required methods
fn matches(&self, matcher: &Self) -> bool;
fn specificity(&self) -> u32;
}
Expand description
Determines whether two instances match. We can also ask it how specific it is.
Required Methods§
Object Safety§
This trait is not object safe.