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