pub trait PathPart: Send + Sync + Debug { fn detect(&self, state: &mut PathState) -> bool; }
PathPart
Detect is that path matched.