Module rocket::request[][src]

Expand description

Types and traits for request parsing and handling.

Structs

A data guard for parsing FromForm types strictly.

A form items returned by the FormItems iterator.

A data guard for parsing FromForm types leniently.

Iterator over form items in a query string.

The type of an incoming web request.

Request guard to retrieve managed state.

Enums

Error returned by the FromData implementations of Form and LenientForm.

Iterator over the key/value pairs of a given HTTP form string.

Error returned by the FromForm derive on form parsing errors.

Traits

Trait to create an instance of some type from an HTTP form. Form requires its generic type to implement this trait.

Trait to parse a typed value from a form value.

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

Trait implemented by query guards to derive a value from a query string.

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

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

Type Definitions

Type alias to retrieve Flash messages from a request.

Alias to the type of form errors returned by the FromData implementations of Form<T> where the FromForm implementation for T was derived.

Type alias for the Outcome of a FromRequest conversion.