[−][src]Trait coap_message::OptionsIterableMessage
Helper mixin for ReadableMessage that allows using ReadableMessage without giving a lifetime all the time.
Associated Types
type MessageOption: 'a + MessageOption
type OptionsIter: Iterator<Item = Self::MessageOption>
Required methods
fn options(&'a self) -> Self::OptionsIter
Produce all options in arbitrary order as an iterator
If your options are always produced in an ordered fashion, consider implementing the
OptionsSortedIterableMessage
trait as well. This should be the case for most CoAP
message backends. Examples of backends where it is not implemented are single-pass reads
over in-place decrypted OSCORE messages.