Module error

Module error 

Source
Expand description

The errors of the coap module.

Structs§

HandlingError
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.
IncompatibleOptionValueFormat
The error that can occur when parsing an option value.
InvalidContentFormat
The error that can occur when parsing a content-format.
InvalidObserve
The error that can occur when parsing an observe option value.

Enums§

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