Expand description
Direction-parameterised framing and lossless message decoding.
Structs§
- Bind
- Structured
Bindmessage. - Close
- Structured
Closemessage. - Copy
Response - Format metadata which begins a COPY sub-protocol.
- DataRow
- One result row retaining raw text or binary column values.
- Describe
- Structured
Describemessage. - Diagnostic
Field - One tagged
PostgreSQLdiagnostic field. - Diagnostic
Response - Ordered diagnostic fields from an error or notice response.
- Execute
- Structured
Executemessage. - Field
Description - Metadata for one result column.
- Frame
- A validated
PostgreSQLtagged frame, including its tag but not its length. - Function
Call - Structured legacy
FunctionCallmessage. - Negotiate
Protocol Version - Backend response negotiating a requested protocol minor version and options.
- Parse
- Structured
Parsemessage. - PgCodec
- A
PostgreSQLcodec which cannot confuse frontend and backend tag alphabets. - RowDescription
- Backend row metadata retained in reconstructable form.
Enums§
- Authentication
- Backend authentication request or continuation message.
- Backend
- Messages sent by a
PostgreSQLbackend. - Backend
Message - Messages sent by a
PostgreSQLbackend. - Describe
Target - Namespace selected by
DescribeandClosemessages. - Frontend
- Messages sent by a
PostgreSQLfrontend. - Frontend
Message - Frontend messages whose contents a rewriting proxy must retain structurally.
- Transaction
Status - Transaction state reported by
ReadyForQuery.
Constants§
- DEFAULT_
MAX_ FRAME_ LEN - Default total tagged-frame limit, including tag and length.
Traits§
- Direction
- Decoder direction. The same byte tag has different meanings in each direction.