Enum rusqlite_migration::HookError
source · #[non_exhaustive]pub enum HookError {
RusqliteError(Error),
Hook(String),
}
Expand description
Error enum with rusqlite or hook-specified errors.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RusqliteError(Error)
Rusqlite error, query may indicate the attempted SQL query
Hook(String)
Error returned by the hook
Trait Implementations§
source§impl PartialEq for HookError
impl PartialEq for HookError
impl StructuralPartialEq for HookError
Auto Trait Implementations§
impl Freeze for HookError
impl !RefUnwindSafe for HookError
impl Send for HookError
impl Sync for HookError
impl Unpin for HookError
impl !UnwindSafe for HookError
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