Module protocol

Module protocol 

Source

Structs§

AuthenticationCleartextPassword
The AuthenticationCleartextPassword struct represents a message indicating that a cleartext password is required for authentication.
AuthenticationCleartextPasswordBuilder
AuthenticationGSS
The AuthenticationGSS struct represents a message indicating that GSSAPI authentication is required.
AuthenticationGSSBuilder
AuthenticationGSSContinue
The AuthenticationGSSContinue struct represents a message indicating the continuation of GSSAPI authentication.
AuthenticationGSSContinueBuilder
AuthenticationKerberosV5
The AuthenticationKerberosV5 struct represents a message indicating that Kerberos V5 authentication is required.
AuthenticationKerberosV5Builder
AuthenticationMD5Password
The AuthenticationMD5Password struct represents a message indicating that an MD5-encrypted password is required for authentication.
AuthenticationMD5PasswordBuilder
AuthenticationMessage
The AuthenticationMessage struct is a base for all Postgres authentication messages.
AuthenticationMessageBuilder
AuthenticationOk
The AuthenticationOk struct represents a message indicating successful authentication.
AuthenticationOkBuilder
AuthenticationSASL
The AuthenticationSASL struct represents a message indicating that SASL authentication is required.
AuthenticationSASLBuilder
AuthenticationSASLContinue
The AuthenticationSASLContinue struct represents a message containing a SASL challenge during the authentication process.
AuthenticationSASLContinueBuilder
AuthenticationSASLFinal
The AuthenticationSASLFinal struct represents a message indicating the completion of SASL authentication.
AuthenticationSASLFinalBuilder
AuthenticationSCMCredential
The AuthenticationSCMCredential struct represents a message indicating that an SCM credential is required for authentication.
AuthenticationSCMCredentialBuilder
AuthenticationSSPI
The AuthenticationSSPI struct represents a message indicating that SSPI authentication is required.
AuthenticationSSPIBuilder
BackendKeyData
The BackendKeyData struct represents a message containing the process ID and secret key for this backend.
BackendKeyDataBuilder
Bind
The Bind struct represents a message to bind a named portal to a prepared statement.
BindBuilder
BindComplete
The BindComplete struct represents a message indicating that a Bind operation was successful.
BindCompleteBuilder
CancelRequest
The CancelRequest struct represents a message to request the cancellation of a query.
CancelRequestBuilder
Close
The Close struct represents a message to close a prepared statement or portal.
CloseBuilder
CloseComplete
The CloseComplete struct represents a message indicating that a Close operation was successful.
CloseCompleteBuilder
CommandComplete
The CommandComplete struct represents a message indicating the successful completion of a command.
CommandCompleteBuilder
CopyBothResponse
The CopyBothResponse is used only for Streaming Replication.
CopyBothResponseBuilder
CopyData
The CopyData struct represents a message containing data for a copy operation.
CopyDataBuilder
CopyDone
The CopyDone struct represents a message indicating that a copy operation is complete.
CopyDoneBuilder
CopyFail
The CopyFail struct represents a message indicating that a copy operation has failed.
CopyFailBuilder
CopyInResponse
The CopyInResponse struct represents a message indicating that the server is ready to receive data for a copy-in operation.
CopyInResponseBuilder
CopyOutResponse
The CopyOutResponse struct represents a message indicating that the server is ready to send data for a copy-out operation.
CopyOutResponseBuilder
DataRow
The DataRow struct represents a message containing a row of data.
DataRowBuilder
Describe
The Describe struct represents a message to describe a prepared statement or portal.
DescribeBuilder
EmptyQueryResponse
The EmptyQueryResponse struct represents a message indicating that an empty query string was recognized.
EmptyQueryResponseBuilder
ErrorField
The ErrorField struct represents a single error message within an ErrorResponse.
ErrorFieldBuilder
ErrorResponse
The ErrorResponse struct represents a message indicating that an error has occurred.
ErrorResponseBuilder
Execute
The Execute struct represents a message to execute a prepared statement or portal.
ExecuteBuilder
Flush
The Flush struct represents a message to flush the backend’s output buffer.
FlushBuilder
FunctionCall
The FunctionCall struct represents a message to call a function.
FunctionCallBuilder
FunctionCallResponse
The FunctionCallResponse struct represents a message containing the result of a function call.
FunctionCallResponseBuilder
GSSENCRequest
The GSSENCRequest struct represents a message requesting GSSAPI encryption.
GSSENCRequestBuilder
GSSResponse
The GSSResponse struct represents a message containing a GSSAPI or SSPI response.
GSSResponseBuilder
InitialMessage
A generic base for all initial Postgres messages.
InitialMessageBuilder
Message
A generic base for all Postgres mtype/mlen-style messages.
MessageBuilder
NegotiateProtocolVersion
The NegotiateProtocolVersion struct represents a message requesting protocol version negotiation.
NegotiateProtocolVersionBuilder
NoData
The NoData struct represents a message indicating that there is no data to return.
NoDataBuilder
NoticeField
The NoticeField struct represents a single error message within an NoticeResponse.
NoticeFieldBuilder
NoticeResponse
The NoticeResponse struct represents a message containing a notice.
NoticeResponseBuilder
NotificationResponse
The NotificationResponse struct represents a message containing a notification from the backend.
NotificationResponseBuilder
ParameterDescription
The ParameterDescription struct represents a message describing the parameters needed by a prepared statement.
ParameterDescriptionBuilder
ParameterStatus
The ParameterStatus struct represents a message containing the current status of a parameter.
ParameterStatusBuilder
Parse
The Parse struct represents a message to parse a query string.
ParseBuilder
ParseComplete
The ParseComplete struct represents a message indicating that a Parse operation was successful.
ParseCompleteBuilder
PasswordMessage
The PasswordMessage struct represents a message containing a password.
PasswordMessageBuilder
PortalSuspended
The PortalSuspended struct represents a message indicating that a portal has been suspended.
PortalSuspendedBuilder
Query
The Query struct represents a message to execute a simple query.
QueryBuilder
ReadyForQuery
The ReadyForQuery struct represents a message indicating that the backend is ready for a new query.
ReadyForQueryBuilder
RowDescription
The RowDescription struct represents a message describing the rows that will be returned by a query.
RowDescriptionBuilder
RowField
The RowField struct represents a row within the RowDescription message.
RowFieldBuilder
SASLInitialResponse
The SASLInitialResponse struct represents a message containing a SASL initial response.
SASLInitialResponseBuilder
SASLResponse
The SASLResponse struct represents a message containing a SASL response.
SASLResponseBuilder
SSLRequest
The SSLRequest struct represents a message requesting SSL encryption.
SSLRequestBuilder
SSLResponse
Available fields:
SSLResponseBuilder
StartupMessage
The StartupMessage struct represents a message to initiate a connection.
StartupMessageBuilder
StartupNameValue
The StartupMessage struct represents a name/value pair within the StartupMessage message.
StartupNameValueBuilder
Sync
The Sync struct represents a message to synchronize the frontend and backend.
SyncBuilder
Terminate
The Terminate struct represents a message to terminate a connection.
TerminateBuilder

Enums§

Backend
The Backend message group contains messages sent from the backend to the frontend.
BackendBuilder
CloseType
The type of object to close.
CopyFormat
The data format for a copy operation.
DescribeType
The type of object to describe.
FormatCode
The format code for an input or output value.
Frontend
The Frontend message group contains messages sent from the frontend to the backend.
FrontendBuilder
Initial
The Initial message group contains messages that are sent before the normal message flow.
InitialBuilder

Traits§

BackendMatch
FrontendMatch
InitialMatch
IntoBackendBuilder
IntoFrontendBuilder
IntoInitialBuilder