Crate lambda_runtime[][src]

Expand description

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

Configuration derived from environment variables.

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.

A Handler implemented by a closure.

Traits

A trait describing an asynchronous function A to B.

Functions

Returns a new HandlerFn with the given closure.

Starts the Lambda Rust runtime and begins polling for events on the Lambda Runtime APIs.

Type Definitions

Error type that lambdas may result in