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

Method collect

lambda-runtime-api-client/src/body/mod.rs:78–80  ·  view source on GitHub ↗

Collect the body into `Bytes`

(self)

Source from the content-addressed store, hash-verified

76
77 /// Collect the body into `Bytes`
78 pub async fn collect(self) -> Result<Collected<Bytes>, Error> {
79 self.0.collect().await
80 }
81}
82
83impl Default for Body {

Callers 15

log_wrapperFunction · 0.80
runMethod · 0.80
registerFunction · 0.80
telemetry_wrapperFunction · 0.80
from_responseMethod · 0.80
convert_to_binaryFunction · 0.80
convert_to_textFunction · 0.80
normalize_timestampFunction · 0.80
set_failuresMethod · 0.80
set_failuresMethod · 0.80
get_fileMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_next_eventFunction · 0.64