pub fn parse_frame(data: &[u8]) -> Result<(u8, &[u8])>Expand description
Validate the CRC32C of an inbound frame and return the payload slice.
data must start at byte 0 (version byte). Returns (rpc_type, payload).
Side effect: observes the peer’s cluster epoch via
observe_peer_cluster_epoch (monotonic max).