pub enum BackendMessage {
Show 23 variants
Authentication(AuthenticationMessage),
BackendKeyData {
process_id: i32,
secret_key: i32,
},
BindComplete,
CloseComplete,
CommandComplete(String),
CopyBothResponse,
CopyData(Vec<u8>),
CopyDone,
CopyInResponse,
CopyOutResponse,
DataRow(Vec<Option<Vec<u8>>>),
EmptyQueryResponse,
ErrorResponse(ErrorResponse),
NoData,
NoticeResponse(NoticeResponse),
NotificationResponse,
ParameterDescription,
ParameterStatus {
name: String,
value: String,
},
ParseComplete,
PortalSuspended,
ReadyForQuery(TransactionStatus),
RowDescription(Vec<FieldDescription>),
PrimaryKeepaliveMessage {
wal_end: u64,
timestamp: i64,
reply: u8,
},
}Variants§
Authentication(AuthenticationMessage)
BackendKeyData
BindComplete
CloseComplete
CommandComplete(String)
CopyBothResponse
CopyData(Vec<u8>)
CopyDone
CopyInResponse
CopyOutResponse
DataRow(Vec<Option<Vec<u8>>>)
EmptyQueryResponse
ErrorResponse(ErrorResponse)
NoData
NoticeResponse(NoticeResponse)
NotificationResponse
ParameterDescription
ParameterStatus
ParseComplete
PortalSuspended
ReadyForQuery(TransactionStatus)
RowDescription(Vec<FieldDescription>)
PrimaryKeepaliveMessage
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 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