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
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
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
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
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.