pub enum SimpleQueryMessage {
Row(SimpleQueryRow),
CommandComplete(u64),
}Expand description
A message returned from the simple query protocol.
Simple queries can return a mix of row data and command completions
(e.g., a multi-statement query like "SELECT 1; INSERT INTO ...").
Variants§
Row(SimpleQueryRow)
A row of text-format data from a SELECT or RETURNING clause.
CommandComplete(u64)
A command completed (INSERT, UPDATE, DELETE, etc.).
Trait Implementations§
Source§impl Clone for SimpleQueryMessage
impl Clone for SimpleQueryMessage
Source§fn clone(&self) -> SimpleQueryMessage
fn clone(&self) -> SimpleQueryMessage
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 SimpleQueryMessage
impl RefUnwindSafe for SimpleQueryMessage
impl Send for SimpleQueryMessage
impl Sync for SimpleQueryMessage
impl Unpin for SimpleQueryMessage
impl UnsafeUnpin for SimpleQueryMessage
impl UnwindSafe for SimpleQueryMessage
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