pub enum BackendMessage {
Show 16 variants
AuthenticationOk,
AuthenticationCleartextPassword,
AuthenticationMD5Password {
salt: [u8; 4],
},
ParameterStatus {
name: String,
value: String,
},
BackendKeyData {
process_id: i32,
secret_key: i32,
},
ReadyForQuery {
status: u8,
},
RowDescription {
fields: Vec<FieldDescription>,
},
DataRow {
values: Vec<Option<Bytes>>,
},
CommandComplete {
tag: String,
},
ErrorResponse {
fields: Vec<(u8, String)>,
},
NoticeResponse {
fields: Vec<(u8, String)>,
},
ParseComplete,
BindComplete,
NoData,
ParameterDescription {
ids: Vec<u32>,
},
CloseComplete,
}Variants§
AuthenticationOk
AuthenticationCleartextPassword
AuthenticationMD5Password
ParameterStatus
BackendKeyData
ReadyForQuery
RowDescription
Fields
§
fields: Vec<FieldDescription>DataRow
CommandComplete
ErrorResponse
NoticeResponse
ParseComplete
BindComplete
NoData
ParameterDescription
CloseComplete
Implementations§
Trait Implementations§
Source§impl Clone for BackendMessage
impl Clone for BackendMessage
Source§fn clone(&self) -> BackendMessage
fn clone(&self) -> BackendMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BackendMessage
impl Debug for BackendMessage
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