summaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
authorJascha <Jascha-N@users.noreply.github.com>2017-06-23 14:12:47 +0200
committerJascha <Jascha-N@users.noreply.github.com>2017-06-23 14:12:47 +0200
commit6c1d3807560dd2d177096118f8cce03933511685 (patch)
treecadd5bdf6f9aaa4397b9310f0de1e84782c6abc9 /src/error.rs
parentf4fad94a58c2eef5e1e49b4f2b150eac0efbd360 (diff)
Make boxed errors Send + Sync
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.rs b/src/error.rs
index 6b567a2..514a5e2 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -50,7 +50,7 @@ pub enum ConfigError {
/// The captured error from attempting to parse the file in its desired format.
/// This is the actual error object from the library used for the parsing.
- cause: Box<Error>
+ cause: Box<Error + Send + Sync>
},
/// Value could not be converted into the requested type.
@@ -75,7 +75,7 @@ pub enum ConfigError {
Message(String),
/// Unadorned error from a foreign origin.
- Foreign(Box<Error>),
+ Foreign(Box<Error + Send + Sync>),
}
impl ConfigError {