Enum postgres_protocol::message::backend::Message [−][src]
#[non_exhaustive]
pub enum Message {
Show 31 variants
AuthenticationCleartextPassword,
AuthenticationGss,
AuthenticationKerberosV5,
AuthenticationMd5Password(AuthenticationMd5PasswordBody),
AuthenticationOk,
AuthenticationScmCredential,
AuthenticationSspi,
AuthenticationGssContinue(AuthenticationGssContinueBody),
AuthenticationSasl(AuthenticationSaslBody),
AuthenticationSaslContinue(AuthenticationSaslContinueBody),
AuthenticationSaslFinal(AuthenticationSaslFinalBody),
BackendKeyData(BackendKeyDataBody),
BindComplete,
CloseComplete,
CommandComplete(CommandCompleteBody),
CopyData(CopyDataBody),
CopyDone,
CopyInResponse(CopyInResponseBody),
CopyOutResponse(CopyOutResponseBody),
DataRow(DataRowBody),
EmptyQueryResponse,
ErrorResponse(ErrorResponseBody),
NoData,
NoticeResponse(NoticeResponseBody),
NotificationResponse(NotificationResponseBody),
ParameterDescription(ParameterDescriptionBody),
ParameterStatus(ParameterStatusBody),
ParseComplete,
PortalSuspended,
ReadyForQuery(ReadyForQueryBody),
RowDescription(RowDescriptionBody),
}Expand description
An enum representing Postgres backend messages.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AuthenticationMd5Password(AuthenticationMd5PasswordBody)Tuple Fields of AuthenticationMd5Password
AuthenticationGssContinue(AuthenticationGssContinueBody)Tuple Fields of AuthenticationGssContinue
AuthenticationSasl(AuthenticationSaslBody)Tuple Fields of AuthenticationSasl
AuthenticationSaslContinue(AuthenticationSaslContinueBody)Tuple Fields of AuthenticationSaslContinue
AuthenticationSaslFinal(AuthenticationSaslFinalBody)Tuple Fields of AuthenticationSaslFinal
BackendKeyData(BackendKeyDataBody)Tuple Fields of BackendKeyData
CommandComplete(CommandCompleteBody)Tuple Fields of CommandComplete
CopyData(CopyDataBody)Tuple Fields of CopyData
0: CopyDataBodyCopyInResponse(CopyInResponseBody)Tuple Fields of CopyInResponse
CopyOutResponse(CopyOutResponseBody)Tuple Fields of CopyOutResponse
DataRow(DataRowBody)Tuple Fields of DataRow
0: DataRowBodyErrorResponse(ErrorResponseBody)Tuple Fields of ErrorResponse
NoticeResponse(NoticeResponseBody)Tuple Fields of NoticeResponse
NotificationResponse(NotificationResponseBody)Tuple Fields of NotificationResponse
ParameterDescription(ParameterDescriptionBody)Tuple Fields of ParameterDescription
ParameterStatus(ParameterStatusBody)Tuple Fields of ParameterStatus
ReadyForQuery(ReadyForQueryBody)Tuple Fields of ReadyForQuery
RowDescription(RowDescriptionBody)