Skip to main content

HttpInputAlg

Trait HttpInputAlg 

Source
pub trait HttpInputAlg {
    type Path<Input>;
    type Query<Input>;
    type Body<Input>;
    type Header<Input>;
    type Auth<Input>;
    type Context<Input>;
}
Expand description

Describes the HTTP input roles chosen by an interpreter.

Required Associated Types§

Source

type Path<Input>

The interpreter’s path extractor for Input.

Source

type Query<Input>

The interpreter’s query extractor for Input.

Source

type Body<Input>

The interpreter’s request-body extractor for Input.

Source

type Header<Input>

The interpreter’s header extractor for Input.

Source

type Auth<Input>

The interpreter’s authentication extractor for Input.

Source

type Context<Input>

The interpreter’s endpoint-context extractor for Input.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§