Crate lambda_runtime[−][src]
The mechanism available for defining a Lambda function is as follows:
Create a type that conforms to the Handler trait. This type can then be passed
to the the lambda_runtime::run function, which launches and runs the Lambda runtime.
Structs
| Config | Configuration derived from environment variables. |
| Context | The Lambda function execution context. The values in this struct are populated using the Lambda environment variables and the headers returned by the poll request to the Runtime APIs. |
| HandlerFn | A |
Traits
| Handler | A trait describing an asynchronous function |
Functions
| handler_fn | Returns a new |
| run | Starts the Lambda Rust runtime and begins polling for events on the Lambda Runtime APIs. |
Type Definitions
| Error | Error type that lambdas may result in |