pub enum BackendMessage {
Show 26 variants
AuthenticationOk,
AuthenticationCleartextPassword,
AuthenticationMD5Password([u8; 4]),
AuthenticationSasl(Vec<String>),
AuthenticationSaslContinue(Vec<u8>),
AuthenticationSaslFinal(Vec<u8>),
AuthenticationKerberosV5,
AuthenticationScmCredential,
AuthenticationGss,
AuthenticationSspi,
AuthenticationGssContinue(Vec<u8>),
BackendKeyData(i32, i32),
ParameterStatus(String, String),
ReadyForQuery(u8),
RowDescription(Vec<FieldDescription>),
DataRow(Vec<Option<Vec<u8>>>),
CommandComplete(String),
ParseComplete,
BindComplete,
CloseComplete,
PortalSuspended,
ErrorResponse(DbError),
NoticeResponse(DbError),
NotificationResponse(i32, String, String),
EmptyQueryResponse,
NoData,
}Variants§
AuthenticationOk
AuthenticationCleartextPassword
AuthenticationMD5Password([u8; 4])
AuthenticationSasl(Vec<String>)
AuthenticationSaslContinue(Vec<u8>)
AuthenticationSaslFinal(Vec<u8>)
AuthenticationKerberosV5
AuthenticationScmCredential
AuthenticationGss
AuthenticationSspi
AuthenticationGssContinue(Vec<u8>)
BackendKeyData(i32, i32)
ParameterStatus(String, String)
ReadyForQuery(u8)
RowDescription(Vec<FieldDescription>)
DataRow(Vec<Option<Vec<u8>>>)
CommandComplete(String)
ParseComplete
BindComplete
CloseComplete
PortalSuspended
ErrorResponse(DbError)
NoticeResponse(DbError)
NotificationResponse(i32, String, String)
EmptyQueryResponse
NoData
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BackendMessage
impl RefUnwindSafe for BackendMessage
impl Send for BackendMessage
impl Sync for BackendMessage
impl Unpin for BackendMessage
impl UnsafeUnpin for BackendMessage
impl UnwindSafe for BackendMessage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more