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