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