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

Method into_response

lambda-http/src/response.rs:215–222  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

213 B: ConvertBody + Send + 'static,
214{
215 fn into_response(self) -> ResponseFuture {
216 let (parts, body) = self.into_parts();
217 let headers = parts.headers.clone();
218
219 let fut = async { Response::from_parts(parts, body.convert(headers).await) };
220
221 Box::pin(fut)
222 }
223}
224
225impl IntoResponse for String {

Callers 15

pollMethod · 0.45
json_into_responseFunction · 0.45
text_into_responseFunction · 0.45
bytes_into_responseFunction · 0.45
content_encoding_headerFunction · 0.45
content_type_headerFunction · 0.45
content_headers_unsetFunction · 0.45

Calls 3

into_partsMethod · 0.80
convertMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected