Trait perseus::Route[][src]

pub trait Route {
    fn match_route(path: &[&str]) -> Self;
}
Expand description

Trait that is implemented for enums that can match routes.

This trait should not be implemented manually. Use the Route derive macro instead.

Required methods

Implementors