Expand description
Router and RouterBuilder — the longest-prefix route tree that maps
a request path to the controller mounted at its deepest matching prefix.
Structs§
- Rate
Limit Class - One controller’s declared rate-limit class, as returned by
Router::rate_limit_classes: the controller’smountpath and theclasslabel it declared via#[controller(rate_limit = "…")]. Used by a startup coverage check that asserts every declared class has a policy. - Route
Match - The result of
Router::match_controller: the matched controller and the leftover path segments joined as the controller’s action. Returned from a path-only resolve (no verb / parameter checks; those happen inside the controller’s dispatch). - Router
- The Actus router. Dispatches requests to controllers by longest-prefix match over the route tree at arbitrary depth.
- Router
Builder - A builder for constructing the router.