Function lambda_http::run
source · pub async fn run<'a, R, S, E>(handler: S) -> Result<(), Error>Expand description
Starts the Lambda Rust runtime and begins polling for events on the Lambda Runtime APIs.
This takes care of transforming the LambdaEvent into a Request and then
converting the result into a [LambdaResponse].