Expand description
Defines the crate::runtime::LambdaRuntime API and provides a default generic implementation.
Structs§
- Default
Runtime - The default generic implementation of the
LambdaRuntimeinterface. Works by accepting a pointer to an initialization function or a closureinitializer- that is run once and initializes “global” variables that are created once and persist across the runtime’s life (DB connections, heap allocated static data etc…).
Traits§
- Lambda
Runtime - A generic trait defining an interface for a Lambda runtime.
The HTTP Backend in use is defined by the input types
Tthat implementsTransportandRimplementingLambdaAPIResponse. TheOUTtype parameter is the user-defined response type which represents the success result of the event handler.