Struct riot_wrappers::coap_message::MessageOption
source · pub struct MessageOption<'a> { /* private fields */ }
Available on
riot_module_gcoap
only.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 moresource§impl<'a> MessageOption for MessageOption<'a>
impl<'a> MessageOption for MessageOption<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for MessageOption<'a>
impl<'a> Send for MessageOption<'a>
impl<'a> Sync for MessageOption<'a>
impl<'a> Unpin for MessageOption<'a>
impl<'a> UnwindSafe for MessageOption<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more