pub trait HasRoutes<B = Body> { fn routes(self) -> Router<B>; }
Trait for things that can provide routes.
Used with RouterExt::with.
RouterExt::with
Get the routes.