Module kwap_msg::no_alloc[][src]

Expand description

Fixed capacity representations of raw CoAP messages.

Structs

Low-level representation of the code of a message. Identifying it as a request or response

Iterator yielded by EnumerateOptNumbers, wrapping an Iterator over Opts.

Uniquely identifies a single message that may be retransmitted.

Low-level representation of a message that has been parsed from a byte array

Low-level representation of a freshly parsed CoAP Option

The “Option Delta” is the difference between this Option’s Number and the previous Option’s number.

The Option number identifies which Option is being set (e.g. Content-Format has a Number of 12)

Option Value

Low-level representation of the message payload

Message token for matching requests to responses

Length (in bytes) of the Token. Tokens are between 0 and 8 bytes in length.

Message type:

Version of the CoAP protocol that the message adheres to.

Traits

Creates an iterator which gives the current opt’s number as well as the option.

Trait for getting the delta from either heap or heapless Opts