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

Method from

src/api_error.rs:246–248  ·  view source on GitHub ↗
(s: StatusCode)

Source from the content-addressed store, hash-verified

244
245impl From<StatusCode> for ApiError {
246 fn from(s: StatusCode) -> Self {
247 Self::new(s)
248 }
249}
250
251impl From<ApiError> for HttpApiProblem {

Callers

nothing calls this directly

Calls 3

into_http_api_problemMethod · 0.80
into_hyper_responseMethod · 0.80

Tested by

no test coverage detected