pub enum SqliteTransactionError<E>{
Begin(SqliteError),
Operation(E),
Commit(SqliteError),
OperationAndRollback {
operation: E,
rollback: SqliteError,
},
}Variants§
Trait Implementations§
Source§impl<E> Debug for SqliteTransactionError<E>
impl<E> Debug for SqliteTransactionError<E>
Source§impl<E> Display for SqliteTransactionError<E>
impl<E> Display for SqliteTransactionError<E>
Source§impl<E> Error for SqliteTransactionError<E>
impl<E> Error for SqliteTransactionError<E>
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()
Auto Trait Implementations§
impl<E> !RefUnwindSafe for SqliteTransactionError<E>
impl<E> !UnwindSafe for SqliteTransactionError<E>
impl<E> Freeze for SqliteTransactionError<E>where
E: Freeze,
impl<E> Send for SqliteTransactionError<E>
impl<E> Sync for SqliteTransactionError<E>
impl<E> Unpin for SqliteTransactionError<E>where
E: Unpin,
impl<E> UnsafeUnpin for SqliteTransactionError<E>where
E: 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