diff --git a/keystore/src/connection/mod.rs b/keystore/src/connection/mod.rs index 4e619965b0..e6252a3812 100644 --- a/keystore/src/connection/mod.rs +++ b/keystore/src/connection/mod.rs @@ -121,8 +121,9 @@ pub trait FetchFromDatabase: Send + Sync { async fn count>(&self) -> CryptoKeystoreResult; } -// * SAFETY: this has mutexes and atomics protecting underlying data so this is safe to share between threads +// SAFETY: this has mutexes and atomics protecting underlying data so this is safe to share between threads unsafe impl Send for Connection {} +// SAFETY: this has mutexes and atomics protecting underlying data so this is safe to share between threads unsafe impl Sync for Connection {} impl Connection {