Struct openthread_sys::otIcmp6Header
source · #[repr(C, packed(1))]pub struct otIcmp6Header {
pub mType: u8,
pub mCode: u8,
pub mChecksum: u16,
pub mData: otIcmp6Header__bindgen_ty_1,
}
Expand description
@struct otIcmp6Header
Represents an ICMPv6 header.
Fields§
§mType: u8
< Type
mCode: u8
< Code
mChecksum: u16
< Checksum
mData: otIcmp6Header__bindgen_ty_1
< Message-specific data
Trait Implementations§
source§impl Clone for otIcmp6Header
impl Clone for otIcmp6Header
source§fn clone(&self) -> otIcmp6Header
fn clone(&self) -> otIcmp6Header
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 Default for otIcmp6Header
impl Default for otIcmp6Header
impl Copy for otIcmp6Header
Auto Trait Implementations§
impl Freeze for otIcmp6Header
impl RefUnwindSafe for otIcmp6Header
impl Send for otIcmp6Header
impl Sync for otIcmp6Header
impl Unpin for otIcmp6Header
impl UnwindSafe for otIcmp6Header
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)