14
sqlx::Transaction and Arc<Mutex>
(lemm.ee)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
If I understand correctly, each data-access structure represents single workflow, and you may have Transaction in that structure without the need for Arc<Mutex<…>> inside, but maybe you will need to wrap the structure itself with that.