(&self)
| 288 | |
| 289 | impl std::error::Error for SyncError { |
| 290 | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { |
| 291 | match self { |
| 292 | SyncError::Codec(e) => Some(e), |
| 293 | SyncError::Compression(e) => Some(e), |
| 294 | SyncError::TooLarge { .. } => None, |
| 295 | } |
| 296 | } |
| 297 | } |
| 298 | |
| 299 | /// Serialize `value` with postcard and zstd-compress it into a wire body. |
nothing calls this directly
no outgoing calls
no test coverage detected