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