Module rocket::route[][src]

Expand description

Types and traits for routes and their request handlers and return types.

Structs

Route

A request handling route.

RouteUri

A route URI which is matched against requests.

Traits

Cloneable

Helper trait to make a Route’s Box<dyn Handler> Clone.

Handler

Trait implemented by Route request handlers.

Type Definitions

BoxFuture

Type alias for the return type of a raw Route’s Handler.

Outcome

Type alias for the return type of a Route’s Handler::handle().