The Rust Programming Language Forum
Setup database before running any of the test
help
alice
March 12, 2023, 9:58am
11
Tokio provides a synchronization primitive for this:
tokio::sync::OnceCell
5 Likes
Is it okay to use Mutex<bool>?
show post in topic
Related Topics
Topic
Replies
Views
Activity
Test async function?
help
9
4132
July 16, 2021
How to run async from sync code?
help
3
313
April 3, 2024
Using unsafe to set a DB pool reference
help
4
619
September 21, 2021
Testing Diesel Code
1
767
January 12, 2023
Noob needs help with an async closure problem ;)
help
7
681
August 7, 2022