(self, context: impl Into<String>)
| 87 | |
| 88 | impl<T> ErrorContext<T> for Result<T, std::io::Error> { |
| 89 | fn context(self, context: impl Into<String>) -> Result<T, UtilError> { |
| 90 | self.map_err(|e| UtilError::io_context(e, context)) |
| 91 | } |
| 92 | |
| 93 | fn with_context<C, F>(self, f: F) -> Result<T, UtilError> |
| 94 | where |
no outgoing calls
no test coverage detected