Struct starnix_uapi::uapi::x86_64::ip6t_replace
source · #[repr(C)]pub struct ip6t_replace {
pub name: [i8; 32],
pub valid_hooks: u32,
pub num_entries: u32,
pub size: u32,
pub hook_entry: [u32; 5],
pub underflow: [u32; 5],
pub num_counters: u32,
pub counters: uref<xt_counters>,
pub entries: __IncompleteArrayField<ip6t_entry>,
}
Fields§
§name: [i8; 32]
§valid_hooks: u32
§num_entries: u32
§size: u32
§hook_entry: [u32; 5]
§underflow: [u32; 5]
§num_counters: u32
§counters: uref<xt_counters>
§entries: __IncompleteArrayField<ip6t_entry>
Trait Implementations§
source§impl Default for ip6t_replace
impl Default for ip6t_replace
source§fn default() -> ip6t_replace
fn default() -> ip6t_replace
Returns the “default value” for a type. Read more
source§impl FromBytes for ip6t_replacewhere
[i8; 32]: FromBytes,
u32: FromBytes,
[u32; 5]: FromBytes,
uref<xt_counters>: FromBytes,
__IncompleteArrayField<ip6t_entry>: FromBytes,
impl FromBytes for ip6t_replacewhere
[i8; 32]: FromBytes,
u32: FromBytes,
[u32; 5]: FromBytes,
uref<xt_counters>: FromBytes,
__IncompleteArrayField<ip6t_entry>: FromBytes,
§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_replacewhere
[i8; 32]: FromZeros,
u32: FromZeros,
[u32; 5]: FromZeros,
uref<xt_counters>: FromZeros,
__IncompleteArrayField<ip6t_entry>: FromZeros,
impl FromZeros for ip6t_replacewhere
[i8; 32]: FromZeros,
u32: FromZeros,
[u32; 5]: FromZeros,
uref<xt_counters>: FromZeros,
__IncompleteArrayField<ip6t_entry>: FromZeros,
source§impl IntoBytes for ip6t_replacewhere
[i8; 32]: IntoBytes,
u32: IntoBytes,
[u32; 5]: IntoBytes,
uref<xt_counters>: IntoBytes,
__IncompleteArrayField<ip6t_entry>: IntoBytes,
HasPadding<ip6t_replace, linux_uapi::::x86_64::{impl#3639}::{constant#3}>: ShouldBe<false>,
impl IntoBytes for ip6t_replacewhere
[i8; 32]: IntoBytes,
u32: IntoBytes,
[u32; 5]: IntoBytes,
uref<xt_counters>: IntoBytes,
__IncompleteArrayField<ip6t_entry>: IntoBytes,
HasPadding<ip6t_replace, linux_uapi::::x86_64::{impl#3639}::{constant#3}>: ShouldBe<false>,
Auto Trait Implementations§
impl Freeze for ip6t_replace
impl RefUnwindSafe for ip6t_replace
impl Send for ip6t_replace
impl Sync for ip6t_replace
impl Unpin for ip6t_replace
impl UnwindSafe for ip6t_replace
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