Struct lambda_http::Adapter[][src]

pub struct Adapter<'a, H: Handler<'a>> { /* fields omitted */ }
Expand description

Exists only to satisfy the trait cover rule for lambda_runtime::Handler impl

User code should never need to interact with this type directly. Since Adapter implements Handler It serves as a opaque trait covering type.

See this article for a larger explaination of why this is nessessary

Trait Implementations

The type of Response this Handler will return

The type of Error that this Handler will return

The type of Future this Handler will return

Function used to execute handler behavior

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.