[−][src]Module gotham::router::builder
Defines a builder API for constructing a Router
.
Structs
AssociatedRouteBuilder | Implements the methods required for associating a number of routes with a single path. This is
used by |
DelegateRouteBuilder | A delegated builder, which is created by |
RouterBuilder | The top-level builder which is created by |
ScopeBuilder | A scoped builder, which is created by |
SingleRouteBuilder | Implements the traits required to define a single route, after determining which request paths
will be dispatched here. The |
Traits
DefineSingleRoute | Describes the API for defining a single route, after determining which request paths will be
dispatched here. The API here uses chained function calls to build and add the route into the
|
DrawRoutes | Defines functions used by a builder to determine which request paths will be dispatched to a
route. This trait is implemented by the top-level |
ExtendRouteMatcher | Describes the operation of extending a |
ReplacePathExtractor | Describes the operation of replacing a |
ReplaceQueryStringExtractor | Describes the operation of replacing a |
Functions
build_router | Builds a |
build_simple_router | Builds a |
Type Definitions
AssociatedSingleRouteBuilder | The default type returned when building a single associated route. See
|