pub enum CommandComplete {
Select(u32),
Fetch(u32),
Plain(String),
}Expand description
It’s used to describe client that changes was done. The command tag. This is usually a single word that identifies which SQL command was completed. See more variants from sources: https://github.com/postgres/postgres/blob/REL_14_4/src/include/tcop/cmdtaglist.h#L27
Variants§
Implementations§
Source§impl CommandComplete
impl CommandComplete
pub fn new_selection(is_select: bool, rows: u32) -> Self
Trait Implementations§
Source§impl Debug for CommandComplete
impl Debug for CommandComplete
Source§impl PartialEq for CommandComplete
impl PartialEq for CommandComplete
Source§fn eq(&self, other: &CommandComplete) -> bool
fn eq(&self, other: &CommandComplete) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CommandComplete
impl Serialize for CommandComplete
impl StructuralPartialEq for CommandComplete
Auto Trait Implementations§
impl Freeze for CommandComplete
impl RefUnwindSafe for CommandComplete
impl Send for CommandComplete
impl Sync for CommandComplete
impl Unpin for CommandComplete
impl UnsafeUnpin for CommandComplete
impl UnwindSafe for CommandComplete
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