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 | Bump clap from 3.1.15 to 3.1.16 (#392) (diff) | |
| download | atuin-1d030b9d32f539fd38f5ff3335234c5111c3303f.zip | |
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 5f37e8b1..7b3ab3be 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<()>; |
