openwsn-berkeley / lakers

EDHOC implemented in Rust, optimized for microcontrollers, with bindings for C and Python.
https://crates.io/crates/lakers
BSD 3-Clause "New" or "Revised" License
12 stars 10 forks source link

examples/coap: Update to new traits #235

Closed chrysn closed 4 months ago

chrysn commented 4 months ago

This vastly enhances error handling.

This is still a PR because I think that EDHOCError should become renderable, so that EDHOC errors can fly out through ?.

chrysn commented 4 months ago

Enhancing around the handling of EDHOCError is probably a more gradual thing, so I'm marking this as ready for review as it is (yes there are FIXMEs in the code, but those are still better than the panics that were in their place in the last iteration).

geonnave commented 4 months ago

Looks good, left two comments.