pub enum PgConstraintError {
Empty,
UnknownKind,
ControlCharacter,
Identifier(PgIdentifierError),
}Expand description
Error returned when PostgreSQL constraint metadata is invalid.
Variants§
Trait Implementations§
Source§impl Clone for PgConstraintError
impl Clone for PgConstraintError
Source§fn clone(&self) -> PgConstraintError
fn clone(&self) -> PgConstraintError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PgConstraintError
impl Debug for PgConstraintError
Source§impl Display for PgConstraintError
impl Display for PgConstraintError
Source§impl Error for PgConstraintError
impl Error for PgConstraintError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for PgConstraintError
impl PartialEq for PgConstraintError
Source§fn eq(&self, other: &PgConstraintError) -> bool
fn eq(&self, other: &PgConstraintError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PgConstraintError
impl StructuralPartialEq for PgConstraintError
Auto Trait Implementations§
impl Freeze for PgConstraintError
impl RefUnwindSafe for PgConstraintError
impl Send for PgConstraintError
impl Sync for PgConstraintError
impl Unpin for PgConstraintError
impl UnsafeUnpin for PgConstraintError
impl UnwindSafe for PgConstraintError
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