pub enum FrontendMessage {
Show 14 variants
StartupMessage(StartupMessage),
PasswordMessage(String),
Query(String),
Parse {
name: String,
query: String,
param_types: Vec<u32>,
},
Bind {
portal: String,
statement: String,
formats: Vec<i16>,
values: Vec<Option<Vec<u8>>>,
result_formats: Vec<i16>,
},
Execute {
portal: String,
max_rows: i32,
},
Sync,
Terminate,
CopyData(Vec<u8>),
CopyDone,
CopyFail(String),
SASLInitialResponse {
mechanism: String,
data: Vec<u8>,
},
SASLResponse(Vec<u8>),
StandbyStatusUpdate {
write_lsn: u64,
flush_lsn: u64,
apply_lsn: u64,
timestamp: i64,
reply: u8,
},
}Variants§
StartupMessage(StartupMessage)
PasswordMessage(String)
Query(String)
Parse
Bind
Fields
Execute
Sync
Terminate
CopyData(Vec<u8>)
CopyDone
CopyFail(String)
SASLInitialResponse
SASLResponse(Vec<u8>)
StandbyStatusUpdate
Implementations§
Trait Implementations§
Source§impl Clone for FrontendMessage
impl Clone for FrontendMessage
Source§fn clone(&self) -> FrontendMessage
fn clone(&self) -> FrontendMessage
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 moreAuto Trait Implementations§
impl Freeze for FrontendMessage
impl RefUnwindSafe for FrontendMessage
impl Send for FrontendMessage
impl Sync for FrontendMessage
impl Unpin for FrontendMessage
impl UnwindSafe for FrontendMessage
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