Check if an error value matches the spec.
(&self)
| 282 | |
| 283 | /// Check if an error value matches the spec. |
| 284 | pub fn may_fail(&self) -> bool { |
| 285 | self.fallible |
| 286 | } |
| 287 | |
| 288 | /// This method "maps" a function across the `ResultSpec`. |
| 289 | /// |
no outgoing calls