#[non_exhaustive]pub enum PlPgSqlError {
RaiseException,
NoDataFound,
TooManyRows,
AssertFailure,
}Available on crate feature
postgres only.Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for PlPgSqlError
impl Clone for PlPgSqlError
Source§fn clone(&self) -> PlPgSqlError
fn clone(&self) -> PlPgSqlError
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 PlPgSqlError
impl Debug for PlPgSqlError
Source§impl FromStr for PlPgSqlError
impl FromStr for PlPgSqlError
Source§impl Hash for PlPgSqlError
impl Hash for PlPgSqlError
Source§impl PartialEq for PlPgSqlError
impl PartialEq for PlPgSqlError
impl Eq for PlPgSqlError
impl StructuralPartialEq for PlPgSqlError
Auto Trait Implementations§
impl Freeze for PlPgSqlError
impl RefUnwindSafe for PlPgSqlError
impl Send for PlPgSqlError
impl Sync for PlPgSqlError
impl Unpin for PlPgSqlError
impl UnwindSafe for PlPgSqlError
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