MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / source

Method source

atomic-objects/src/sync.rs:290–296  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

288
289impl 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected