#[repr(C)]pub struct otCoapToken {
pub m8: [u8; 8],
pub mLength: u8,
}Expand description
Represents a CoAP message token.
Fields§
§m8: [u8; 8]< The token bytes.
mLength: u8< The token length in bytes.
Trait Implementations§
Source§impl Clone for otCoapToken
impl Clone for otCoapToken
Source§fn clone(&self) -> otCoapToken
fn clone(&self) -> otCoapToken
Returns a duplicate 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 otCoapToken
impl Debug for otCoapToken
Source§impl Default for otCoapToken
impl Default for otCoapToken
Source§fn default() -> otCoapToken
fn default() -> otCoapToken
Returns the “default value” for a type. Read more
impl Copy for otCoapToken
Auto Trait Implementations§
impl Freeze for otCoapToken
impl RefUnwindSafe for otCoapToken
impl Send for otCoapToken
impl Sync for otCoapToken
impl Unpin for otCoapToken
impl UnsafeUnpin for otCoapToken
impl UnwindSafe for otCoapToken
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