Crate luminal_router [−] [src]
Router for mapping hyper::Method
and a request path to something that will response.
luminal's router uses a simplified radix tree for speedy lookups. cargo +nightly bench
to see
relative performance across some contrived examples.
The actual router implementation depends on the features used to build the crate. By default,
the Router
implementation works with hyper::server::Service
. Using the "handler" feature
switches to a Router
that is aware of the luminal-handler create.
Structs
FnRouteBuilder | |
LuminalError |
The Error type. |
Router |
Router for Hyper. |
ServiceRouteBuilder |
Fluent builder, takes ownership of a |
Enums
LuminalErrorKind |
The kind of an error. |
Type Definitions
LuminalFuture |
Convenience, especially for |