Skip to main content

Module protocol

Module protocol 

Source

Structs§

WireRetainedUnit
WireSyncStatus

Enums§

ErrorClass
Stable 1-byte error classification carried at the tail of a MSG_ERROR payload.
Message
WireParam
A positional parameter value carried by Message::QueryWithParams.
WireSyncRepairAction

Constants§

MSG_QUERY_NATIVE
Native typed PowQL request. The response is MSG_RESULT_ROWS_NATIVE or MSG_RESULT_SCALAR_NATIVE; legacy result frames remain byte-identical.
MSG_QUERY_PARAMS_NATIVE
Native typed PowQL request with positional $N parameters.
MSG_QUERY_SQL_NATIVE
Native typed SQL request.
MSG_RESULT_ROWS_NATIVE
Native typed row result.
MSG_RESULT_SCALAR_NATIVE
Native typed scalar result.

Functions§

decode_error_class
Extract the trailing error-class byte from a full MSG_ERROR frame, if present. Returns None for non-error frames, malformed frames, and legacy error frames that carry only the message string.