Crate routefinder[][src]

Structs

Captures

Captured params and wildcards

Match

This struct represents the output of a successful application of a Route to a str path, as well as references to any captures such as params and wildcards.

Matches

A set of all Matches. Most likely, you'll want to dereference this to its inner std::collections::BTreeSet.

Route

A parsed RouteSpec and associated handler

RouteSpec

the internal representation of a route, containing both the source string (or unique description) and a Vec of Segments

Router

a router represents an ordered set of routes which can be applied to a given request path, and any handler T that is associated with each route

Enums

Segment

the internal representation of a parsed component of a route