Returns `true` if this is an I/O error.
(&self)
| 256 | impl FormatError { |
| 257 | /// Returns `true` if this is an I/O error. |
| 258 | pub fn is_io(&self) -> bool { |
| 259 | matches!(self, FormatError::Io(_)) |
| 260 | } |
| 261 | |
| 262 | /// Returns `true` if this is a serialization (postcard) error. |
| 263 | pub fn is_serialization(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected