Returns `true` if this is a compression or decompression error.
(&self)
| 266 | |
| 267 | /// Returns `true` if this is a compression or decompression error. |
| 268 | pub fn is_compression(&self) -> bool { |
| 269 | matches!(self, FormatError::Compress(_) | FormatError::Decompress(_)) |
| 270 | } |
| 271 | |
| 272 | /// Returns `true` if this is a hash-related error. |
| 273 | pub fn is_hash_error(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected