(&self)
| 229 | |
| 230 | impl StdError for BlockError { |
| 231 | fn source(&self) -> Option<&(dyn StdError + 'static)> { |
| 232 | self.source |
| 233 | .as_ref() |
| 234 | .map(|e| e.as_ref() as &(dyn StdError + 'static)) |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | /// Convenience: wrap an `io::Error` as `BlockErrorKind::Io`. |
no test coverage detected