Split from_data()
up in smaller pieces
To still be able to handle errors correctly, also regarding the http status code, `thiserror::Error` is used.
This commit is contained in:
parent
8314214e06
commit
7f143e0b08
4 changed files with 113 additions and 83 deletions
|
@ -25,3 +25,4 @@ hmac = "0.10"
|
|||
sha2 = "0.9"
|
||||
hex = "0.4"
|
||||
ipnet = { version = "2.3", features = ["serde"] }
|
||||
thiserror = "1.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue