pub enum PgColumnError {
EmptyDefault,
ControlCharacter,
UnknownNullability,
Identifier(PgIdentifierError),
}Expand description
Error returned when PostgreSQL column metadata is invalid.
Variants§
Trait Implementations§
Source§impl Clone for PgColumnError
impl Clone for PgColumnError
Source§fn clone(&self) -> PgColumnError
fn clone(&self) -> PgColumnError
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 PgColumnError
impl Debug for PgColumnError
Source§impl Display for PgColumnError
impl Display for PgColumnError
Source§impl Error for PgColumnError
impl Error for PgColumnError
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 PgColumnError
impl PartialEq for PgColumnError
Source§fn eq(&self, other: &PgColumnError) -> bool
fn eq(&self, other: &PgColumnError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PgColumnError
impl StructuralPartialEq for PgColumnError
Auto Trait Implementations§
impl Freeze for PgColumnError
impl RefUnwindSafe for PgColumnError
impl Send for PgColumnError
impl Sync for PgColumnError
impl Unpin for PgColumnError
impl UnsafeUnpin for PgColumnError
impl UnwindSafe for PgColumnError
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