into_salvo_response

Function into_salvo_response 

Source
pub fn into_salvo_response<T: Into<HttpApiProblem>>(what: T) -> Response
Expand description

Creates a salvo::Response from something that can become an HttpApiProblem.

If status is None 500 - Internal Server Error is the default.