summaryrefslogtreecommitdiffstats
path: root/atuin-client/src/record/store.rs
diff options
context:
space:
mode:
Diffstat (limited to 'atuin-client/src/record/store.rs')
-rw-r--r--atuin-client/src/record/store.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/atuin-client/src/record/store.rs b/atuin-client/src/record/store.rs
index 45d554ef..dcdafdc5 100644
--- a/atuin-client/src/record/store.rs
+++ b/atuin-client/src/record/store.rs
@@ -8,7 +8,7 @@ use atuin_common::record::{EncryptedData, HostId, Record, RecordId, RecordIndex}
/// As is, the record store is intended as the source of truth for arbitratry data, which could
/// be shell history, kvs, etc.
#[async_trait]
-pub trait Store {
+pub trait Store: Send + Sync {
// Push a record
async fn push(&self, record: &Record<EncryptedData>) -> Result<()> {
self.push_batch(std::iter::once(record)).await