pub fn parse_copy_data(payload: Bytes) -> Result<ReplicationCopyData>Expand description
Parse a CopyData payload into a replication message.
The payload should be the CopyData content (after stripping the ādā tag and length).
Returns either XLogData or KeepAlive depending on the first byte.