(self, attachment: A)
| 91 | |
| 92 | #[track_caller] |
| 93 | fn attach_opaque<A>(self, attachment: A) -> Result<T, Report<E::Context>> |
| 94 | where |
| 95 | A: OpaqueAttachment, |
| 96 | { |
| 97 | match self { |
| 98 | Ok(value) => Ok(value), |
| 99 | Err(error) => Err(error.into_report().attach_opaque(attachment)), |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | #[track_caller] |
| 104 | fn attach_opaque_with<A, F>(self, attachment: F) -> Result<T, Report<E::Context>> |
no test coverage detected