pub trait HttpInputAlg {
type Path<Input>;
type Query<Input>;
type Body<Input>;
type Form<Input>;
type RawBody<Input>;
type Header<Input>;
type Cookie<Input>;
type Multipart<Input>;
type Auth<Input>;
type Context<Input>;
}Expand description
Describes the HTTP input roles chosen by an interpreter.
Required Associated Types§
Sourcetype Header<Input>
type Header<Input>
The interpreter’s header extractor for Input.
Headers are names and values, so an argument read from them is an ordinary product. A
framework’s own extractor is what HttpInputAlg::Context states.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".