Function
encode_request_vote_resp
(msg: &RequestVoteResponse, out: &mut Vec<u8>)
Source from the content-addressed store, hash-verified
| 48 | write_frame(RPC_REQUEST_VOTE_REQ, &rkyv_to_bytes!(msg)?, out) |
| 49 | } |
| 50 | pub(super) fn encode_request_vote_resp(msg: &RequestVoteResponse, out: &mut Vec<u8>) -> Result<()> { |
| 51 | write_frame(RPC_REQUEST_VOTE_RESP, &rkyv_to_bytes!(msg)?, out) |
| 52 | } |
| 53 | pub(super) fn encode_install_snapshot_req( |
| 54 | msg: &InstallSnapshotRequest, |
| 55 | out: &mut Vec<u8>, |
Tested by
no test coverage detected