From 2976dfbca879a8917b7d90a7c87415d470c6562d Mon Sep 17 00:00:00 2001 From: Ilya Grigoriev Date: Wed, 21 Feb 2024 12:32:10 -0800 Subject: [PATCH] Comment --- backend-local-server/src/types.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/backend-local-server/src/types.rs b/backend-local-server/src/types.rs index f7dfa86..84a459b 100644 --- a/backend-local-server/src/types.rs +++ b/backend-local-server/src/types.rs @@ -40,6 +40,7 @@ impl serde::Serialize for DataReadError { } } +// TODO: What does 'static mean here? Can it be loosened? pub trait DataInterface: Send + Sync + 'static { fn scan(&self) -> Result; // TODO: Make `save` more generic than IndexMap