[][src]Crate pg_wire

API for backend implementation of PostgreSQL Wire Protocol

Structs

ColumnMetadata

Struct description of metadata that describes how client should interpret outgoing selected data

HandShakeProcess

Encapsulate protocol hand shake process

MessageDecoder

Decodes messages from client

UnrecognizedFormat

Represents an error if frontend sent unrecognizable format contains the integer code that was sent

Enums

BackendMessage

Backend PostgreSQL Wire Protocol messages see Protocol Flow

Error

Error type in protocol Result. Indicates that something went not well

FrontendMessage

Frontend PostgreSQL Wire Protocol messages see Protocol Flow PostgreSQL documentation section

HandShakeRequest

Hand shake request to a server process

HandShakeStatus

Represents status of the Process stages

MessageDecoderStatus

Represents a status of a MessageDecoder stage

PgFormat

PostgreSQL formats for transferring data 0 - textual representation 1 - binary representation

PgType

Represents PostgreSQL data type and methods to send over wire

Value

Represents PostgreSQL data values sent and received over wire

Type Definitions

ClientParams

Connection key-value params

ConnId

Connection ID

ConnSecretKey

Connection secret key

Oid

PostgreSQL OID Object Identifier

Result

Protocol operation result