pub enum SqlxStoreError {
Sqlx(Error),
Encode(Error),
Decode(Error),
}Expand description
An error type for SQLx stores.
Variants§
Sqlx(Error)
A variant to map sqlx errors.
Encode(Error)
A variant to map rmp_serde encode errors.
Decode(Error)
A variant to map rmp_serde decode errors.
Trait Implementations§
source§impl Debug for SqlxStoreError
impl Debug for SqlxStoreError
source§impl Display for SqlxStoreError
impl Display for SqlxStoreError
source§impl Error for SqlxStoreError
impl Error for SqlxStoreError
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.81.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 SqlxStoreError
impl From<Error> for SqlxStoreError
source§impl From<Error> for SqlxStoreError
impl From<Error> for SqlxStoreError
source§impl From<Error> for SqlxStoreError
impl From<Error> for SqlxStoreError
source§impl From<SqlxStoreError> for Error
impl From<SqlxStoreError> for Error
source§fn from(err: SqlxStoreError) -> Self
fn from(err: SqlxStoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SqlxStoreError
impl !RefUnwindSafe for SqlxStoreError
impl Send for SqlxStoreError
impl Sync for SqlxStoreError
impl Unpin for SqlxStoreError
impl !UnwindSafe for SqlxStoreError
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