We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c9ba46 commit 3d02fa8Copy full SHA for 3d02fa8
lib/src/graph.rs
@@ -92,3 +92,8 @@ impl Graph {
92
q.execute(db, self.config.fetch_size, connection).await
93
}
94
95
+
96
+const _: () = {
97
+ const fn assert_send_sync<T: ?Sized + Send + Sync>() {}
98
+ assert_send_sync::<Graph>();
99
+};
lib/src/txn.rs
@@ -79,6 +79,11 @@ impl Txn {
79
80
81
82
83
84
+ assert_send_sync::<Txn>();
85
86
87
pub trait TransactionHandle: private::Handle {}
88
89
impl TransactionHandle for Txn {}
0 commit comments