MCPcopy Index your code
hub / github.com/aws/aws-lambda-rust-runtime / IntoResponse

Interface IntoResponse

lambda-http/src/response.rs:206–209  ·  view source on GitHub ↗

Trait for generating responses Types that implement this trait can be used as return types for handler functions.

Source from the content-addressed store, hash-verified

204///
205/// Types that implement this trait can be used as return types for handler functions.
206pub trait IntoResponse {
207 /// Transform into a `Response<Body>` Future
208 fn into_response(self) -> ResponseFuture;
209}
210
211impl<B> IntoResponse for Response<B>
212where

Callers

nothing calls this directly

Implementers 3

response.rslambda-http/src/response.rs
main.rsexamples/http-axum-streaming-otel/src/
main.rsexamples/http-axum-streaming/src/main.

Calls

no outgoing calls

Tested by

no test coverage detected