Enum pq_sys::ConnStatusType
source · #[repr(u32)]pub enum ConnStatusType {
Show 14 variants
CONNECTION_OK = 0,
CONNECTION_BAD = 1,
CONNECTION_STARTED = 2,
CONNECTION_MADE = 3,
CONNECTION_AWAITING_RESPONSE = 4,
CONNECTION_AUTH_OK = 5,
CONNECTION_SETENV = 6,
CONNECTION_SSL_STARTUP = 7,
CONNECTION_NEEDED = 8,
CONNECTION_CHECK_WRITABLE = 9,
CONNECTION_CONSUME = 10,
CONNECTION_GSS_STARTUP = 11,
CONNECTION_CHECK_TARGET = 12,
CONNECTION_CHECK_STANDBY = 13,
}
Variants§
CONNECTION_OK = 0
CONNECTION_BAD = 1
CONNECTION_STARTED = 2
CONNECTION_MADE = 3
CONNECTION_AWAITING_RESPONSE = 4
CONNECTION_AUTH_OK = 5
CONNECTION_SETENV = 6
CONNECTION_SSL_STARTUP = 7
CONNECTION_NEEDED = 8
CONNECTION_CHECK_WRITABLE = 9
CONNECTION_CONSUME = 10
CONNECTION_GSS_STARTUP = 11
CONNECTION_CHECK_TARGET = 12
CONNECTION_CHECK_STANDBY = 13
Trait Implementations§
source§impl Clone for ConnStatusType
impl Clone for ConnStatusType
source§fn clone(&self) -> ConnStatusType
fn clone(&self) -> ConnStatusType
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 ConnStatusType
impl Debug for ConnStatusType
source§impl Hash for ConnStatusType
impl Hash for ConnStatusType
source§impl PartialEq for ConnStatusType
impl PartialEq for ConnStatusType
source§fn eq(&self, other: &ConnStatusType) -> bool
fn eq(&self, other: &ConnStatusType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConnStatusType
impl Eq for ConnStatusType
impl StructuralEq for ConnStatusType
impl StructuralPartialEq for ConnStatusType
Auto Trait Implementations§
impl RefUnwindSafe for ConnStatusType
impl Send for ConnStatusType
impl Sync for ConnStatusType
impl Unpin for ConnStatusType
impl UnwindSafe for ConnStatusType
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