Struct linux_uapi::x86_64::ip6t_getinfo
source · #[repr(C)]pub struct ip6t_getinfo {
pub name: [c_char; 32],
pub valid_hooks: c_uint,
pub hook_entry: [c_uint; 5],
pub underflow: [c_uint; 5],
pub num_entries: c_uint,
pub size: c_uint,
}
Fields§
§name: [c_char; 32]
§valid_hooks: c_uint
§hook_entry: [c_uint; 5]
§underflow: [c_uint; 5]
§num_entries: c_uint
§size: c_uint
Trait Implementations§
source§impl Clone for ip6t_getinfo
impl Clone for ip6t_getinfo
source§fn clone(&self) -> ip6t_getinfo
fn clone(&self) -> ip6t_getinfo
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 ip6t_getinfo
impl Debug for ip6t_getinfo
source§impl Default for ip6t_getinfo
impl Default for ip6t_getinfo
source§fn default() -> ip6t_getinfo
fn default() -> ip6t_getinfo
Returns the “default value” for a type. Read more
source§impl FromBytes for ip6t_getinfo
impl FromBytes for ip6t_getinfo
§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 ip6t_getinfo
impl FromZeros for ip6t_getinfo
source§impl IntoBytes for ip6t_getinfo
impl IntoBytes for ip6t_getinfo
impl Copy for ip6t_getinfo
Auto Trait Implementations§
impl Freeze for ip6t_getinfo
impl RefUnwindSafe for ip6t_getinfo
impl Send for ip6t_getinfo
impl Sync for ip6t_getinfo
impl Unpin for ip6t_getinfo
impl UnwindSafe for ip6t_getinfo
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