(self, context: D)
| 79 | |
| 80 | impl<T> OptionExt<T> for Option<T> { |
| 81 | fn or_err<D>(self, context: D) -> Result<T> |
| 82 | where |
| 83 | D: Display + Send + Sync + 'static, |
| 84 | { |
| 85 | self.context(context) |
| 86 | } |
| 87 | |
| 88 | fn required(self) -> Result<T> { |
| 89 | self.context("missing required option") |
no outgoing calls
no test coverage detected