Enum pq_sys::PGTransactionStatusType
source · #[repr(u32)]pub enum PGTransactionStatusType {
PQTRANS_IDLE = 0,
PQTRANS_ACTIVE = 1,
PQTRANS_INTRANS = 2,
PQTRANS_INERROR = 3,
PQTRANS_UNKNOWN = 4,
}
Variants§
Trait Implementations§
source§impl Clone for PGTransactionStatusType
impl Clone for PGTransactionStatusType
source§fn clone(&self) -> PGTransactionStatusType
fn clone(&self) -> PGTransactionStatusType
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 PGTransactionStatusType
impl Debug for PGTransactionStatusType
source§impl Hash for PGTransactionStatusType
impl Hash for PGTransactionStatusType
source§impl PartialEq for PGTransactionStatusType
impl PartialEq for PGTransactionStatusType
source§fn eq(&self, other: &PGTransactionStatusType) -> bool
fn eq(&self, other: &PGTransactionStatusType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PGTransactionStatusType
impl Eq for PGTransactionStatusType
impl StructuralEq for PGTransactionStatusType
impl StructuralPartialEq for PGTransactionStatusType
Auto Trait Implementations§
impl RefUnwindSafe for PGTransactionStatusType
impl Send for PGTransactionStatusType
impl Sync for PGTransactionStatusType
impl Unpin for PGTransactionStatusType
impl UnwindSafe for PGTransactionStatusType
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