Struct linux_uapi::x86_64::xt_counters_info
source · #[repr(C)]pub struct xt_counters_info {
pub name: [c_char; 32],
pub num_counters: c_uint,
pub __bindgen_padding_0: [u8; 4],
pub counters: __IncompleteArrayField<xt_counters>,
}
Fields§
§name: [c_char; 32]
§num_counters: c_uint
§__bindgen_padding_0: [u8; 4]
§counters: __IncompleteArrayField<xt_counters>
Trait Implementations§
source§impl Debug for xt_counters_info
impl Debug for xt_counters_info
source§impl Default for xt_counters_info
impl Default for xt_counters_info
source§fn default() -> xt_counters_info
fn default() -> xt_counters_info
Returns the “default value” for a type. Read more
source§impl FromBytes for xt_counters_infowhere
[c_char; 32]: FromBytes,
c_uint: FromBytes,
[u8; 4]: FromBytes,
__IncompleteArrayField<xt_counters>: FromBytes,
impl FromBytes for xt_counters_infowhere
[c_char; 32]: FromBytes,
c_uint: FromBytes,
[u8; 4]: FromBytes,
__IncompleteArrayField<xt_counters>: 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 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 xt_counters_infowhere
[c_char; 32]: FromZeros,
c_uint: FromZeros,
[u8; 4]: FromZeros,
__IncompleteArrayField<xt_counters>: FromZeros,
impl FromZeros for xt_counters_infowhere
[c_char; 32]: FromZeros,
c_uint: FromZeros,
[u8; 4]: FromZeros,
__IncompleteArrayField<xt_counters>: FromZeros,
Auto Trait Implementations§
impl Freeze for xt_counters_info
impl RefUnwindSafe for xt_counters_info
impl Send for xt_counters_info
impl Sync for xt_counters_info
impl Unpin for xt_counters_info
impl UnwindSafe for xt_counters_info
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