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