Created
May 16, 2020 11:39
-
-
Save DarkFenX/0f21316176a35606fe2f047fc6bb7384 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error[E0277]: the trait bound `data_handler::json::error::Error: serde::de::Deserialize<'_>` is not satisfied | |
--> core/src/data_handler/json/handler.rs:35:9 | |
| | |
35 | serde_json::from_slice(&bytes)? | |
| ^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `data_handler::json::error::Error` | |
| | |
::: /home/dfx/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.53/src/de.rs:2355:8 | |
| | |
2355 | T: de::Deserialize<'a>, | |
| ------------------- required by this bound in `serde_json::de::from_slice` | |
| | |
= note: required because of the requirements on the impl of `serde::de::Deserialize<'_>` for `std::result::Result<serde_json::value::Value, data_handler::json::error::Error>` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment