diff --git a/src/error.rs b/src/error.rs index d77ff32..dfe7d83 100644 --- a/src/error.rs +++ b/src/error.rs @@ -13,7 +13,7 @@ use std::{error, fmt}; pub enum Error { /// An error occurred decrypting a response message. /// The type of the error will depend on which crypto is being used. - Crypto(Box<dyn (error::Error) + Send>), + Crypto(Box<dyn (error::Error) + Send + Sync>), /// A bad path was handed to the secret service. Path(String), /// The response value of a secret service call couldn't be parsed.