Generic types for path-based routing.
A generic path-based routing table, terminating with resources
An iterator over the resources of a
A mutable iterator over the resources of a
For a successful match, this structure says how any wildcard segments were matched.