diff options
author | Conrad Ludgate <conradludgate@gmail.com> | 2022-05-09 07:46:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 07:46:52 +0100 |
commit | 1d030b9d32f539fd38f5ff3335234c5111c3303f (patch) | |
tree | 08619ad238362f66270919902c887c6357404bcd /atuin-client/src/database.rs | |
parent | d3a4ff959b5e0f714a9932ccacb0df2b4e7f19ba (diff) |
Importer V3 (#395)
* start of importer refactor
* fish
* resh
* zsh
Diffstat (limited to 'atuin-client/src/database.rs')
-rw-r--r-- | atuin-client/src/database.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atuin-client/src/database.rs b/atuin-client/src/database.rs index 5f37e8b1e..7b3ab3beb 100644 --- a/atuin-client/src/database.rs +++ b/atuin-client/src/database.rs @@ -41,7 +41,7 @@ pub fn current_context() -> Context { } #[async_trait] -pub trait Database { +pub trait Database: Send + Sync { async fn save(&mut self, h: &History) -> Result<()>; async fn save_bulk(&mut self, h: &[History]) -> Result<()>; |