sqlite_watcher::connection

Trait SqlTransactionAsync

Source
pub trait SqlTransactionAsync: SqlExecutorAsync {
    // Required method
    fn sql_commit_transaction(
        self,
    ) -> impl Future<Output = Result<(), Self::Error>> + Send;
}
Expand description

Defines a transaction on a sqlite connection.

Required Methods§

Source

fn sql_commit_transaction( self, ) -> impl Future<Output = Result<(), Self::Error>> + Send

Commit the current transaction.

§Errors

Should return an error if a transaction can’t be committed.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§