pub trait Guard: Send + Sync + 'static { fn check(&self, req: &Request) -> bool; }
Represents a guard used for route selection.
Check if request matches predicate for route selection.