Skip to main content

Module router

Module router 

Source

Structs§

PathParams
Named path-segment values extracted from a matched route pattern.
RouteConflict
A route that never runs because one registered before it, with the same method, matches every path it does — what Router::route_conflicts (and AppWithState/AsyncAppWithState’s) report (18.28.0). Patterns are in the :name/*name form.
RouteInfo
A path-based HTTP router with named parameter extraction.
Router

Enums§

RouteConflictKind
How a RouteConflict’s earlier route hides the later one.