Enum pq_sys::ExecStatusType
source · #[repr(u32)]pub enum ExecStatusType {
PGRES_EMPTY_QUERY = 0,
PGRES_COMMAND_OK = 1,
PGRES_TUPLES_OK = 2,
PGRES_COPY_OUT = 3,
PGRES_COPY_IN = 4,
PGRES_BAD_RESPONSE = 5,
PGRES_NONFATAL_ERROR = 6,
PGRES_FATAL_ERROR = 7,
PGRES_COPY_BOTH = 8,
PGRES_SINGLE_TUPLE = 9,
PGRES_PIPELINE_SYNC = 10,
PGRES_PIPELINE_ABORTED = 11,
}
Variants§
PGRES_EMPTY_QUERY = 0
PGRES_COMMAND_OK = 1
PGRES_TUPLES_OK = 2
PGRES_COPY_OUT = 3
PGRES_COPY_IN = 4
PGRES_BAD_RESPONSE = 5
PGRES_NONFATAL_ERROR = 6
PGRES_FATAL_ERROR = 7
PGRES_COPY_BOTH = 8
PGRES_SINGLE_TUPLE = 9
PGRES_PIPELINE_SYNC = 10
PGRES_PIPELINE_ABORTED = 11
Trait Implementations§
source§impl Clone for ExecStatusType
impl Clone for ExecStatusType
source§fn clone(&self) -> ExecStatusType
fn clone(&self) -> ExecStatusType
Returns a copy 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 ExecStatusType
impl Debug for ExecStatusType
source§impl Hash for ExecStatusType
impl Hash for ExecStatusType
source§impl PartialEq for ExecStatusType
impl PartialEq for ExecStatusType
impl Copy for ExecStatusType
impl Eq for ExecStatusType
impl StructuralPartialEq for ExecStatusType
Auto Trait Implementations§
impl Freeze for ExecStatusType
impl RefUnwindSafe for ExecStatusType
impl Send for ExecStatusType
impl Sync for ExecStatusType
impl Unpin for ExecStatusType
impl UnwindSafe for ExecStatusType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)