[−][src]Enum postgres_protocol::message::backend::Message
pub enum Message { 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), }
An enum representing Postgres backend messages.
Variants (Non-exhaustive)
AuthenticationMd5Password(AuthenticationMd5PasswordBody)
AuthenticationGssContinue(AuthenticationGssContinueBody)
AuthenticationSasl(AuthenticationSaslBody)
AuthenticationSaslContinue(AuthenticationSaslContinueBody)
AuthenticationSaslFinal(AuthenticationSaslFinalBody)
BackendKeyData(BackendKeyDataBody)
CommandComplete(CommandCompleteBody)
CopyData(CopyDataBody)
CopyInResponse(CopyInResponseBody)
CopyOutResponse(CopyOutResponseBody)
DataRow(DataRowBody)
ErrorResponse(ErrorResponseBody)
NoticeResponse(NoticeResponseBody)
NotificationResponse(NotificationResponseBody)
ParameterDescription(ParameterDescriptionBody)
ParameterStatus(ParameterStatusBody)
ReadyForQuery(ReadyForQueryBody)
RowDescription(RowDescriptionBody)
Methods
impl Message
[src][−]
Auto Trait Implementations
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,