Enum libpq_sys::ConnStatusType
source · #[repr(u32)]
pub enum ConnStatusType {
Show 14 variants
CONNECTION_OK,
CONNECTION_BAD,
CONNECTION_STARTED,
CONNECTION_MADE,
CONNECTION_AWAITING_RESPONSE,
CONNECTION_AUTH_OK,
CONNECTION_SETENV,
CONNECTION_SSL_STARTUP,
CONNECTION_NEEDED,
CONNECTION_CHECK_WRITABLE,
CONNECTION_CONSUME,
CONNECTION_GSS_STARTUP,
CONNECTION_CHECK_TARGET,
CONNECTION_CHECK_STANDBY,
}
Variants§
CONNECTION_OK
CONNECTION_BAD
CONNECTION_STARTED
CONNECTION_MADE
CONNECTION_AWAITING_RESPONSE
CONNECTION_AUTH_OK
CONNECTION_SETENV
CONNECTION_SSL_STARTUP
CONNECTION_NEEDED
CONNECTION_CHECK_WRITABLE
CONNECTION_CONSUME
CONNECTION_GSS_STARTUP
CONNECTION_CHECK_TARGET
CONNECTION_CHECK_STANDBY
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<ConnStatusType> for ConnStatusType
impl PartialEq<ConnStatusType> 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 ==
.