pub trait HasRoutes<B = Body> {
    fn routes(self) -> Router<B>;
}
Expand description

Trait for things that can provide routes.

Used with RouterExt::with.

Required methods

Get the routes.

Implementations on Foreign Types

Implementors