Enum pq_sys::_bindgen_ty_2
source · #[repr(u32)]pub enum _bindgen_ty_2 {
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,
}
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
Trait Implementations§
source§impl Clone for _bindgen_ty_2
impl Clone for _bindgen_ty_2
source§fn clone(&self) -> _bindgen_ty_2
fn clone(&self) -> _bindgen_ty_2
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 _bindgen_ty_2
impl Debug for _bindgen_ty_2
source§impl Hash for _bindgen_ty_2
impl Hash for _bindgen_ty_2
source§impl PartialEq for _bindgen_ty_2
impl PartialEq for _bindgen_ty_2
impl Copy for _bindgen_ty_2
impl Eq for _bindgen_ty_2
impl StructuralPartialEq for _bindgen_ty_2
Auto Trait Implementations§
impl Freeze for _bindgen_ty_2
impl RefUnwindSafe for _bindgen_ty_2
impl Send for _bindgen_ty_2
impl Sync for _bindgen_ty_2
impl Unpin for _bindgen_ty_2
impl UnwindSafe for _bindgen_ty_2
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
)