pub enum PostgresError {
Io(Error),
Postgres(Error),
Pool(RunError<Error>),
Refinery(Error),
NameParse(NameParseError),
Base64(DecodeError),
TypeDataParse(TypeDataParseError),
Strum(ParseError),
}Variants§
Io(Error)
Postgres(Error)
Pool(RunError<Error>)
Refinery(Error)
NameParse(NameParseError)
Base64(DecodeError)
TypeDataParse(TypeDataParseError)
Strum(ParseError)
Trait Implementations§
Source§impl Debug for PostgresError
impl Debug for PostgresError
Source§impl Display for PostgresError
impl Display for PostgresError
Source§impl Error for PostgresError
impl Error for PostgresError
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 From<DecodeError> for PostgresError
impl From<DecodeError> for PostgresError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for PostgresError
impl From<Error> for PostgresError
Source§impl From<Error> for PostgresError
impl From<Error> for PostgresError
Source§impl From<Error> for PostgresError
impl From<Error> for PostgresError
Source§impl From<NameParseError> for PostgresError
impl From<NameParseError> for PostgresError
Source§fn from(source: NameParseError) -> Self
fn from(source: NameParseError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for PostgresError
impl From<ParseError> for PostgresError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<TypeDataParseError> for PostgresError
impl From<TypeDataParseError> for PostgresError
Source§fn from(source: TypeDataParseError) -> Self
fn from(source: TypeDataParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PostgresError
impl !UnwindSafe for PostgresError
impl Forget for PostgresError
impl Freeze for PostgresError
impl Move for PostgresError
impl Send for PostgresError
impl Sync for PostgresError
impl Unpin for PostgresError
impl UnsafeUnpin for PostgresErrorwhere
*const () is !null: UnsafeUnpin,
PhantomData<ErrorData<CustomOwner>>: UnsafeUnpin,
*const ErrorInner is !null: UnsafeUnpin,
PhantomData<ErrorInner>: UnsafeUnpin,
*const Kind is !null: UnsafeUnpin,
PhantomData<Kind>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Migration>: UnsafeUnpin,
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