pub enum PostgresSqlState {
Standard(SqlState),
Custom(SqlState),
}
Available on crate feature
postgres
only.Expand description
A wrapper around both standard and PostgreSQL-specific SQLSTATE
codes.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PostgresSqlState
impl Clone for PostgresSqlState
Source§fn clone(&self) -> PostgresSqlState
fn clone(&self) -> PostgresSqlState
Returns a duplicate 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 PostgresSqlState
impl Debug for PostgresSqlState
Source§impl FromStr for PostgresSqlState
impl FromStr for PostgresSqlState
Source§impl Hash for PostgresSqlState
impl Hash for PostgresSqlState
Source§impl PartialEq for PostgresSqlState
impl PartialEq for PostgresSqlState
impl Eq for PostgresSqlState
impl StructuralPartialEq for PostgresSqlState
Auto Trait Implementations§
impl Freeze for PostgresSqlState
impl RefUnwindSafe for PostgresSqlState
impl Send for PostgresSqlState
impl Sync for PostgresSqlState
impl Unpin for PostgresSqlState
impl UnwindSafe for PostgresSqlState
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