coap_message

Trait SeekWritableMessage

Source
pub trait SeekWritableMessage { }
Expand description

Marker trait that relaxes MinimalWritableMessage’s sequence requirements.

This indicates that the sequence of calling set_code(), add_option() and set_payload() is not fixed. The sequence of calls only has meaning in that later set_code() and set_payload() calls override earlier ones, and that add_option() on the same option number are stored in their sequence of addition.

Implementors§