pub trait HttpRouter {
type Route;
// Required method
fn match_route<'a, 'r>(
&'a self,
method: &Method,
path: &'r str,
) -> Match<'a, 'r, Self::Route>;
}pub trait HttpRouter {
type Route;
// Required method
fn match_route<'a, 'r>(
&'a self,
method: &Method,
path: &'r str,
) -> Match<'a, 'r, Self::Route>;
}