Function
encode_data_propose_req
(msg: &DataProposeRequest, out: &mut Vec<u8>)
Source from the content-addressed store, hash-verified
| 75 | } |
| 76 | |
| 77 | pub(super) fn encode_data_propose_req(msg: &DataProposeRequest, out: &mut Vec<u8>) -> Result<()> { |
| 78 | write_frame(RPC_DATA_PROPOSE_REQ, &to_bytes!(msg)?, out) |
| 79 | } |
| 80 | pub(super) fn encode_data_propose_resp(msg: &DataProposeResponse, out: &mut Vec<u8>) -> Result<()> { |
| 81 | write_frame(RPC_DATA_PROPOSE_RESP, &to_bytes!(msg)?, out) |
| 82 | } |
Tested by
no test coverage detected