Revert "*Add impl From<()> for HttpClientError"
This reverts commit c831bd5c35
.
This commit is contained in:
parent
c831bd5c35
commit
28ab6ca4fd
|
@ -91,15 +91,6 @@ impl From<Result<String, ()>> for ClientError {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
impl From<()> for HttpClientError {
|
|
||||||
fn from(_: ()) -> Self {
|
|
||||||
HttpClientError::JsonRpcError(JsonRpcError {
|
|
||||||
code: 0,
|
|
||||||
message: "".to_string(),
|
|
||||||
data: None,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#[cfg_attr(target_arch = "wasm32", async_trait(?Send))]
|
#[cfg_attr(target_arch = "wasm32", async_trait(?Send))]
|
||||||
#[cfg_attr(not(target_arch = "wasm32"), async_trait)]
|
#[cfg_attr(not(target_arch = "wasm32"), async_trait)]
|
||||||
|
|
Loading…
Reference in New Issue