(&self, f: &mut fmt::Formatter<'_>)
| 12 | |
| 13 | impl 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 | |
| 22 | impl error::Error for EncodingError {} |
nothing calls this directly
no test coverage detected