Crate mimeograph_router[][src]

Macros

routes

Structs

ConstRoute

Enums

RouterResult

Returned by router![] to signify if the request was handled

Traits

Request

A trait for types that can be routed

Functions

router

Tries to match request to a route in routes. On route match, the result of the route is returned in Ok(_) If no route matches, request is returned in Err(_)

Attribute Macros

delete
get
head
options
patch
post
put