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

Function operation_serialization_error

atomic-core/src/pristine/txn/read.rs:58–62  ·  view source on GitHub ↗
(error: impl std::fmt::Display)

Source from the content-addressed store, hash-verified

56}
57
58fn operation_serialization_error(error: impl std::fmt::Display) -> PristineError {
59 PristineError::Serialization {
60 message: error.to_string(),
61 }
62}
63
64fn decode_operation_row(key: &[u8; OperationId::SIZE], bytes: &[u8]) -> PristineResult<Operation> {
65 let key_id = OperationId::from_bytes(*key);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected