Returns `true` if this is a serialization (postcard) error.
(&self)
| 261 | |
| 262 | /// Returns `true` if this is a serialization (postcard) error. |
| 263 | pub fn is_serialization(&self) -> bool { |
| 264 | matches!(self, FormatError::Postcard(_)) |
| 265 | } |
| 266 | |
| 267 | /// Returns `true` if this is a compression or decompression error. |
| 268 | pub fn is_compression(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected