Function http_api_problem::into_rocket_response
source · [−]pub fn into_rocket_response<T: Into<HttpApiProblem>>(
what: T
) -> Response<'static>Expand description
Creates an rocket::Response from something that can become an
HttpApiProblem.
If status is None 500 - Internal Server Error is the
default.