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
impl Copy for PGTransactionStatusType
impl Eq for PGTransactionStatusType
impl StructuralPartialEq for PGTransactionStatusType
Auto Trait Implementations§
impl Freeze for PGTransactionStatusType
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
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
)