pub struct DbError {
pub description: String,
pub cause: Option<Box<dyn Error + Sync + Send>>,
}Expand description
Errors are mapped to this structure
Fields§
§description: StringError description
cause: Option<Box<dyn Error + Sync + Send>>Optional error cause
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DbError
impl !RefUnwindSafe for DbError
impl Send for DbError
impl Sync for DbError
impl Unpin for DbError
impl UnsafeUnpin for DbError
impl !UnwindSafe for DbError
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