Expand description
Types and traits for request parsing and handling.
Macros§
- local_
cache - Store and immediately retrieve a vector-like value
$v
(String
orVec<T>
) in$request
’s local cache using a locally generated anonymous type to avoid type conflicts. - local_
cache_ once - 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§
- From
Param - Trait to convert a dynamic path segment string to a concrete value.
- From
Request - Trait implemented by request guards to derive a value from incoming requests.
- From
Segments - Trait to convert many dynamic path segment strings to a concrete value.
Type Aliases§
- Flash
Message - Type alias to retrieve
Flash
messages from a request. - Outcome
- Type alias for the
Outcome
of aFromRequest
conversion.