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

Method is_serialization

atomic-core/src/change/format_v3/error.rs:263–265  ·  view source on GitHub ↗

Returns `true` if this is a serialization (postcard) error.

(&self)

Source from the content-addressed store, hash-verified

261
262 /// Returns `true` if this is a serialization (postcard) error.
263 pub fn is_serialization(&self) -> bool {
264 matches!(self, FormatError::Postcard(_))
265 }
266
267 /// Returns `true` if this is a compression or decompression error.
268 pub fn is_compression(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected