Struct libc::tpacket_hdr_variant1
source · #[repr(C)]pub struct tpacket_hdr_variant1 {
pub tp_rxhash: __u32,
pub tp_vlan_tci: __u32,
pub tp_vlan_tpid: __u16,
pub tp_padding: __u16,
}
Fields§
§tp_rxhash: __u32
§tp_vlan_tci: __u32
§tp_vlan_tpid: __u16
§tp_padding: __u16
Trait Implementations§
source§impl Clone for tpacket_hdr_variant1
impl Clone for tpacket_hdr_variant1
source§fn clone(&self) -> tpacket_hdr_variant1
fn clone(&self) -> tpacket_hdr_variant1
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 tpacket_hdr_variant1
impl Debug for tpacket_hdr_variant1
source§impl Hash for tpacket_hdr_variant1
impl Hash for tpacket_hdr_variant1
source§impl PartialEq for tpacket_hdr_variant1
impl PartialEq for tpacket_hdr_variant1
impl Copy for tpacket_hdr_variant1
impl Eq for tpacket_hdr_variant1
impl StructuralPartialEq for tpacket_hdr_variant1
Auto Trait Implementations§
impl Freeze for tpacket_hdr_variant1
impl RefUnwindSafe for tpacket_hdr_variant1
impl Send for tpacket_hdr_variant1
impl Sync for tpacket_hdr_variant1
impl Unpin for tpacket_hdr_variant1
impl UnwindSafe for tpacket_hdr_variant1
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)