(self, context: C)
| 114 | |
| 115 | #[track_caller] |
| 116 | fn change_context<C>(self, context: C) -> Result<T, Report<C>> |
| 117 | where |
| 118 | C: Error + Send + Sync + 'static, |
| 119 | { |
| 120 | match self { |
| 121 | Ok(value) => Ok(value), |
| 122 | Err(error) => Err(error.into_report().change_context(context)), |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | #[track_caller] |
| 127 | fn change_context_lazy<C, F>(self, context: F) -> Result<T, Report<C>> |
no test coverage detected