Trait lambda_runtime::IntoFunctionResponse
source · pub trait IntoFunctionResponse<B, S> {
// Required method
fn into_response(self) -> FunctionResponse<B, S>;
}
Expand description
a trait that can be implemented for any type that can be converted into a FunctionResponse.
This allows us to use the into
method to convert a type into a FunctionResponse.
Required Methods§
sourcefn into_response(self) -> FunctionResponse<B, S>
fn into_response(self) -> FunctionResponse<B, S>
Convert the type into a FunctionResponse.