pub enum Message {
Startup {
params: Vec<(String, String)>,
},
SslRequest,
Password(String),
Query(String),
Parse {
name: String,
query: String,
param_types: Vec<u32>,
},
Bind {
portal: String,
statement: String,
params: Vec<DsValue>,
},
Describe {
target_type: u8,
name: String,
},
Execute {
portal: String,
max_rows: i32,
},
Sync,
Terminate,
Close {
target_type: u8,
name: String,
},
Flush,
}Variants§
Startup
SslRequest
Password(String)
Query(String)
Parse
Bind
Describe
Execute
Sync
Terminate
Close
Flush
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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