[][src]Module usher::parser

Parsers used to create Matcher values from segments.

Values of type Parser are required to construct Matcher values at tree creation time, to specify priority order when routing an incoming set of segments. A parser can also be a pure function which can derive a potential Matcher from an input segment directly.

Structs

DynamicParser

Segment parser to generate dynamic router matchers.

StaticParser

Segment parser to generate static route matchers.

Traits

Parser

Parsing trait to enable conversion from literals into matchers.