Struct linux_uapi::x86_64::nduseroptmsg
source · #[repr(C)]pub struct nduseroptmsg {
pub nduseropt_family: c_uchar,
pub nduseropt_pad1: c_uchar,
pub nduseropt_opts_len: c_ushort,
pub nduseropt_ifindex: c_int,
pub nduseropt_icmp_type: __u8,
pub nduseropt_icmp_code: __u8,
pub nduseropt_pad2: c_ushort,
pub nduseropt_pad3: c_uint,
}
Fields§
§nduseropt_family: c_uchar
§nduseropt_pad1: c_uchar
§nduseropt_opts_len: c_ushort
§nduseropt_ifindex: c_int
§nduseropt_icmp_type: __u8
§nduseropt_icmp_code: __u8
§nduseropt_pad2: c_ushort
§nduseropt_pad3: c_uint
Trait Implementations§
source§impl Clone for nduseroptmsg
impl Clone for nduseroptmsg
source§fn clone(&self) -> nduseroptmsg
fn clone(&self) -> nduseroptmsg
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 nduseroptmsg
impl Debug for nduseroptmsg
source§impl Default for nduseroptmsg
impl Default for nduseroptmsg
source§fn default() -> nduseroptmsg
fn default() -> nduseroptmsg
Returns the “default value” for a type. Read more
source§impl FromBytes for nduseroptmsg
impl FromBytes for nduseroptmsg
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
Interprets the prefix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
Interprets the suffix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeros for nduseroptmsg
impl FromZeros for nduseroptmsg
source§impl IntoBytes for nduseroptmsg
impl IntoBytes for nduseroptmsg
impl Copy for nduseroptmsg
Auto Trait Implementations§
impl Freeze for nduseroptmsg
impl RefUnwindSafe for nduseroptmsg
impl Send for nduseroptmsg
impl Sync for nduseroptmsg
impl Unpin for nduseroptmsg
impl UnwindSafe for nduseroptmsg
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