Trait perseus::Route [−][src]
pub trait Route {
fn match_route(path: &[&str]) -> Self;
}
Expand description
Trait that is implemented for enum
s that can match routes.
This trait should not be implemented manually. Use the Route
derive macro
instead.