Module rocket::request[][src]

Expand description

Types and traits for request parsing and handling.

Macros

local_cache

Store and immediately retrieve a value $v in $request’s local cache using a locally generated anonymous type to avoid type conflicts.

Structs

Request

The type of an incoming web request.

Traits

FromParam

Trait to convert a dynamic path segment string to a concrete value.

FromRequest

Trait implemented by request guards to derive a value from incoming requests.

FromSegments

Trait to convert many dynamic path segment strings to a concrete value.

Type Definitions

FlashMessage

Type alias to retrieve Flash messages from a request.

Outcome

Type alias for the Outcome of a FromRequest conversion.