pub fn parse_tpc_switch_response(
payload: &[u8],
capabilities: ClientCapabilities,
) -> Result<TpcSwitchResponse>Expand description
Parse a full-XA transaction-switch response (reference tpc_switch.pyx
_process_return_parameters plus the base.pyx message loop). Captures the
returned transaction context (PARAMETER message) and the txn-in-progress bit
(last call status). Server errors are surfaced as ProtocolError.