add Sync + Send + 'static to Box<dyn Error> bound (#7450)

Co-authored-by: Bernhard Schuster <bernhard@parity.io>
This commit is contained in:
Bernhard Schuster
2020-10-28 17:20:39 +01:00
committed by GitHub
parent 9bfaf451a7
commit f346e1c629
+1 -1
View File
@@ -49,7 +49,7 @@ pub enum Error {
InvalidListenMultiaddress,
/// Application specific error chain sequence forwarder.
#[error(transparent)]
Application(#[from] Box<dyn std::error::Error>),
Application(#[from] Box<dyn std::error::Error + Send + Sync + 'static>),
/// URI error.
#[error("Invalid URI; expecting either a secret URI or a public URI.")]
InvalidUri(crypto::PublicError),