Skip to content

Commit

Permalink
Requires Send + Sync for Keystore
Browse files Browse the repository at this point in the history
  • Loading branch information
ultimaweapon committed Apr 30, 2024
1 parent df6ee73 commit d974c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/key/store/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::sync::Arc;
mod default;

/// Storage to keep encryption keys.
pub trait Keystore {
pub trait Keystore: Send + Sync {
fn id(&self) -> &'static str;

fn list(self: &Arc<Self>) -> impl Iterator<Item = Key>
Expand Down

0 comments on commit d974c75

Please sign in to comment.