pub enum SqlMiddlewareDbError {
PostgresError(Error),
SqliteError(Error),
PoolErrorPostgres(PoolError<Error>),
PoolErrorSqlite(PoolError<Error>),
ConfigError(String),
ConnectionError(String),
ParameterError(String),
ExecutionError(String),
Unimplemented(String),
Other(String),
}
Variants§
PostgresError(Error)
SqliteError(Error)
PoolErrorPostgres(PoolError<Error>)
PoolErrorSqlite(PoolError<Error>)
ConfigError(String)
ConnectionError(String)
ParameterError(String)
ExecutionError(String)
Unimplemented(String)
Other(String)
Trait Implementations§
Source§impl Debug for SqlMiddlewareDbError
impl Debug for SqlMiddlewareDbError
Source§impl Display for SqlMiddlewareDbError
impl Display for SqlMiddlewareDbError
Source§impl Error for SqlMiddlewareDbError
impl Error for SqlMiddlewareDbError
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<Error> for SqlMiddlewareDbError
impl From<Error> for SqlMiddlewareDbError
Source§impl From<Error> for SqlMiddlewareDbError
impl From<Error> for SqlMiddlewareDbError
Source§impl From<InteractError> for SqlMiddlewareDbError
Convert InteractError to a more specific SqlMiddlewareDbError
impl From<InteractError> for SqlMiddlewareDbError
Convert InteractError to a more specific SqlMiddlewareDbError
Source§fn from(err: InteractError) -> Self
fn from(err: InteractError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SqlMiddlewareDbError
impl !RefUnwindSafe for SqlMiddlewareDbError
impl Send for SqlMiddlewareDbError
impl Sync for SqlMiddlewareDbError
impl Unpin for SqlMiddlewareDbError
impl !UnwindSafe for SqlMiddlewareDbError
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