pub struct GenericTransactionHandler<W>(/* private fields */);
Expand description
Generic transaction handler for SQLite
Trait Implementations§
Source§impl<W> DatabaseTransaction<W> for GenericTransactionHandler<W>where
W: DatabaseExecutor,
impl<W> DatabaseTransaction<W> for GenericTransactionHandler<W>where
W: DatabaseExecutor,
Source§fn commit<'life0, 'async_trait>(
conn: &'life0 mut W,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
fn commit<'life0, 'async_trait>(
conn: &'life0 mut W,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Consumes the current transaction committing the changes
Auto Trait Implementations§
impl<W> Freeze for GenericTransactionHandler<W>
impl<W> RefUnwindSafe for GenericTransactionHandler<W>where
W: RefUnwindSafe,
impl<W> Send for GenericTransactionHandler<W>where
W: Send,
impl<W> Sync for GenericTransactionHandler<W>where
W: Sync,
impl<W> Unpin for GenericTransactionHandler<W>where
W: Unpin,
impl<W> UnwindSafe for GenericTransactionHandler<W>where
W: UnwindSafe,
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