Module coap_lite::error

source ·
Expand description

The errors of the coap module.

Structs§

  • Participatory mechanism for the low-level library to communicate to callers that unexpected errors occurred while handling standard parts of the protocol that should ideally deliver a failure message to the peer. But rather than apply that response message ourselves we yield this error and ask the caller to perform the conversion. For convenience, this can be done with crate::CoapRequest::apply_from_error.
  • The error that can occur when parsing an option value.
  • The error that can occur when parsing a content-format.
  • The error that can occur when parsing an observe option value.

Enums§

  • The errors that can occur when constructing a new block value.
  • The errors that can occur when encoding/decoding packets.