mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 23:21:06 +00:00
Add Sync bound to Rpc::ClientError
This commit is contained in:
+1
-1
@@ -112,7 +112,7 @@ pub enum RpcError {
|
||||
// Dev note: We need the error to be safely sent between threads
|
||||
// for `subscribe_to_block_headers_filling_in_gaps` and friends.
|
||||
/// Error related to the RPC client.
|
||||
ClientError(Box<dyn std::error::Error + Send + 'static>),
|
||||
ClientError(Box<dyn std::error::Error + Send + Sync + 'static>),
|
||||
/// The RPC subscription dropped.
|
||||
SubscriptionDropped,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user