From c836b650eaf4ba33b1cfd2b475971b3ccc9f69b7 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Thu, 15 Jan 2026 02:57:31 +0100 Subject: new update_node_init --- database/src/sort/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'database/src/sort/mod.rs') diff --git a/database/src/sort/mod.rs b/database/src/sort/mod.rs index 9c2eb88..b058766 100644 --- a/database/src/sort/mod.rs +++ b/database/src/sort/mod.rs @@ -11,7 +11,7 @@ use jellyobject::Object; pub mod none; pub mod value; -pub trait Index { +pub trait Index: Send + Sync + 'static { fn add(&self, db: &mut dyn WriteTransaction, row: RowNum, val: Object) -> Result<()>; fn remove(&self, db: &mut dyn WriteTransaction, row: RowNum, val: Object) -> Result<()>; /// Might return true if objects are identical for this index; false if not or uncertain -- cgit v1.3