MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / decode_execute_resp

Function decode_execute_resp

nodedb-cluster/src/rpc_codec/execute.rs:129–135  ·  view source on GitHub ↗
(payload: &[u8])

Source from the content-addressed store, hash-verified

127 )?))
128}
129pub(super) fn decode_execute_resp(payload: &[u8]) -> Result<RaftRpc> {
130 Ok(RaftRpc::ExecuteResponse(from_bytes!(
131 payload,
132 ExecuteResponse,
133 "ExecuteResponse"
134 )?))
135}
136
137/// Numeric code for `TypedClusterError::Internal` when plan bytes fail to decode.
138pub const PLAN_DECODE_FAILED: u32 = 0x_CE00_0001;

Callers 1

decodeFunction · 0.85

Calls 1

ExecuteResponseClass · 0.85

Tested by

no test coverage detected