(&self)
| 122 | |
| 123 | impl std::error::Error for RemoteError { |
| 124 | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { |
| 125 | match self { |
| 126 | Self::ReadError { source, .. } => Some(source), |
| 127 | Self::WriteError { source, .. } => Some(source), |
| 128 | _ => None, |
| 129 | } |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | /// Result type for remote operations. |
nothing calls this directly
no outgoing calls
no test coverage detected