Struct coap_message::heapmessage::MessageOption
source · [−]pub struct MessageOption<'a> { /* private fields */ }
Trait Implementations
sourceimpl<'a> MessageOption for MessageOption<'a>
impl<'a> MessageOption for MessageOption<'a>
sourcefn 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
sourcefn value_uint<U: Ux>(&self) -> Option<U>
fn value_uint<U: Ux>(&self) -> Option<U>
Obtain the option’s value as a number following the
uint
value
format, or None if the option is too
long. Read moreAuto 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more