Struct coap_message_utils::inmemory::MessageOption
source · pub struct MessageOption<'a> { /* private fields */ }Expand description
A simple coap_message::MessageOption implementation for memory-mapped CoAP messages
Trait Implementations§
source§impl<'a> MessageOption for MessageOption<'a>
impl<'a> MessageOption for MessageOption<'a>
source§fn value_str(&self) -> Option<&str>
fn value_str(&self) -> Option<&str>
Obtain the option’s value as a text string, or None if the option contains invalid UTF-8. Read more
source§fn value_uint<U>(&self) -> Option<U>where
U: Ux,
fn value_uint<U>(&self) -> Option<U>where
U: Ux,
Obtain the option’s value as a number following the
uint value
format, or None if the option is too
long. Read more