Struct coap_message_utils::inmemory::Message
source · pub struct Message<'a> { /* private fields */ }
Expand description
A CoAP message that resides in contiguous readable memory
This implementation does not attempt to do any early validation. On encoding errors discovered at runtime, it simply emits the critical-and-not-safe-to-forward CoAP option 65535 (OPTION_INVALID), which to the indication indicates that something went wrong
Implementations§
Trait Implementations§
source§impl<'m> ReadableMessage for Message<'m>
impl<'m> ReadableMessage for Message<'m>
§type Code = u8
type Code = u8
See code; also used with MinimalWritableMessage::set_code()
§type MessageOption<'a>
where
Self: 'a = MessageOption<'a>
type MessageOption<'a>
where
Self: 'a = MessageOption<'a>
Type of an individual option, indiciating its option number and value
§type OptionsIter<'a>
where
Self: 'a = OptionsIter<'a>
type OptionsIter<'a>
where
Self: 'a = OptionsIter<'a>
See options