mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 13:27:57 +00:00
add Sync + Send + 'static to Box<dyn Error> bound (#7450)
Co-authored-by: Bernhard Schuster <bernhard@parity.io>
This commit is contained in:
committed by
GitHub
parent
9bfaf451a7
commit
f346e1c629
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user