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.
AuthenticationCleartextPassword
AuthenticationGss
AuthenticationKerberosV5
AuthenticationMd5Password(AuthenticationMd5PasswordBody)

Tuple Fields of AuthenticationMd5Password

0: AuthenticationMd5PasswordBody
AuthenticationOk
AuthenticationScmCredential
AuthenticationSspi
AuthenticationGssContinue(AuthenticationGssContinueBody)

Tuple Fields of AuthenticationGssContinue

0: AuthenticationGssContinueBody
AuthenticationSasl(AuthenticationSaslBody)

Tuple Fields of AuthenticationSasl

0: AuthenticationSaslBody
AuthenticationSaslContinue(AuthenticationSaslContinueBody)

Tuple Fields of AuthenticationSaslContinue

0: AuthenticationSaslContinueBody
AuthenticationSaslFinal(AuthenticationSaslFinalBody)

Tuple Fields of AuthenticationSaslFinal

0: AuthenticationSaslFinalBody
BackendKeyData(BackendKeyDataBody)

Tuple Fields of BackendKeyData

0: BackendKeyDataBody
BindComplete
CloseComplete
CommandComplete(CommandCompleteBody)

Tuple Fields of CommandComplete

0: CommandCompleteBody
CopyData(CopyDataBody)

Tuple Fields of CopyData

0: CopyDataBody
CopyDone
CopyInResponse(CopyInResponseBody)

Tuple Fields of CopyInResponse

0: CopyInResponseBody
CopyOutResponse(CopyOutResponseBody)

Tuple Fields of CopyOutResponse

0: CopyOutResponseBody
DataRow(DataRowBody)

Tuple Fields of DataRow

0: DataRowBody
EmptyQueryResponse
ErrorResponse(ErrorResponseBody)

Tuple Fields of ErrorResponse

0: ErrorResponseBody
NoData
NoticeResponse(NoticeResponseBody)

Tuple Fields of NoticeResponse

0: NoticeResponseBody
NotificationResponse(NotificationResponseBody)

Tuple Fields of NotificationResponse

0: NotificationResponseBody
ParameterDescription(ParameterDescriptionBody)

Tuple Fields of ParameterDescription

0: ParameterDescriptionBody
ParameterStatus(ParameterStatusBody)

Tuple Fields of ParameterStatus

0: ParameterStatusBody
ParseComplete
PortalSuspended
ReadyForQuery(ReadyForQueryBody)

Tuple Fields of ReadyForQuery

0: ReadyForQueryBody
RowDescription(RowDescriptionBody)

Tuple Fields of RowDescription

0: RowDescriptionBody

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.