Module gotham::router::tree [] [src]

Defines a hierarchial Tree with subtrees of Node.

Modules

node

Defines Node and SegmentType for Tree

Structs

SegmentMapping

Data which is returned from Tree traversal, mapping internal segment value to segment(s) which have been matched against the Request path.

Tree

A hierarchical structure that provides a root Node and subtrees of linked nodes that represent valid Request paths.

TreeBuilder

Constructs a Tree which is sorted and immutable.

Type Definitions

Path

A depth ordered Vec of Node instances that create a routable path through the Tree for the matched Request path.