#[repr(C)]pub struct otCoapOptionIterator {
pub mMessage: *const otMessage,
pub mOption: otCoapOption,
pub mNextOptionOffset: u16,
}
Expand description
Acts as an iterator for CoAP options
Fields§
§mMessage: *const otMessage
< CoAP message
mOption: otCoapOption
< CoAP message option
mNextOptionOffset: u16
< Byte offset of next option
Trait Implementations§
Source§impl Clone for otCoapOptionIterator
impl Clone for otCoapOptionIterator
Source§fn clone(&self) -> otCoapOptionIterator
fn clone(&self) -> otCoapOptionIterator
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for otCoapOptionIterator
impl Debug for otCoapOptionIterator
Source§impl Default for otCoapOptionIterator
impl Default for otCoapOptionIterator
impl Copy for otCoapOptionIterator
Auto Trait Implementations§
impl Freeze for otCoapOptionIterator
impl RefUnwindSafe for otCoapOptionIterator
impl !Send for otCoapOptionIterator
impl !Sync for otCoapOptionIterator
impl Unpin for otCoapOptionIterator
impl UnwindSafe for otCoapOptionIterator
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)