MCPcopy Create free account
hub / github.com/chridou/http-api-problem / into_hyper_response

Method into_hyper_response

src/api_error.rs:162–165  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

160
161 #[cfg(feature = "with-hyper")]
162 pub fn into_hyper_response(self) -> hyper::Response<hyper::Body> {
163 let problem = self.into_http_api_problem();
164 problem.to_hyper_response()
165 }
166
167 #[cfg(feature = "with-actix-web")]
168 pub fn into_actix_web_response(self) -> actix_web::HttpResponse {

Callers 1

fromMethod · 0.80

Calls 2

into_http_api_problemMethod · 0.80
to_hyper_responseMethod · 0.80

Tested by

no test coverage detected