Module coap_message_implementations::inmemory

source ·
Expand description

Implementation of coap_message::ReadableMessage based on a serialized message

Message is the main struct of this module – if the message is available as a slice that lives as long as the message, that’s the type to use. Otherwise, implement EncodedMessage on your data, and wrap it in an EncodedMessageView. (The Message is nothing else than the options/payload slice plus the code in a struct).

Structs§

Constants§

  • Option value used by this library to indicate a format error in the message that was not detected by the time option / payload processing was started.

Traits§