MCPcopy Create free account
hub / github.com/HFQR/xitca-web / fmt

Method fmt

http-encoding/src/error.rs:14–19  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

12
13impl fmt::Display for EncodingError {
14 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
15 match *self {
16 Self::MissingFeature(ref e) => write!(f, "{e}"),
17 Self::ParseAcceptEncoding => write!(f, "failed to parse Accept-Encoding header value"),
18 }
19 }
20}
21
22impl error::Error for EncodingError {}

Callers

nothing calls this directly

Calls 1

feature_error_fmtFunction · 0.85

Tested by

no test coverage detected