(payload: &[u8])
| 127 | )?)) |
| 128 | } |
| 129 | pub(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. |
| 138 | pub const PLAN_DECODE_FAILED: u32 = 0x_CE00_0001; |
no test coverage detected