#[repr(C)]pub struct tpacket3_hdr {
pub tp_next_offset: u32,
pub tp_sec: u32,
pub tp_nsec: u32,
pub tp_snaplen: u32,
pub tp_len: u32,
pub tp_status: u32,
pub tp_mac: u16,
pub tp_net: u16,
pub __bindgen_anon_1: tpacket3_hdr__bindgen_ty_1,
pub tp_padding: [u8; 8],
}Fields§
§tp_next_offset: u32§tp_sec: u32§tp_nsec: u32§tp_snaplen: u32§tp_len: u32§tp_status: u32§tp_mac: u16§tp_net: u16§__bindgen_anon_1: tpacket3_hdr__bindgen_ty_1§tp_padding: [u8; 8]Trait Implementations§
Source§impl Clone for tpacket3_hdr
impl Clone for tpacket3_hdr
Source§fn clone(&self) -> tpacket3_hdr
fn clone(&self) -> tpacket3_hdr
Returns a duplicate 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 Default for tpacket3_hdr
impl Default for tpacket3_hdr
Source§fn default() -> tpacket3_hdr
fn default() -> tpacket3_hdr
Returns the “default value” for a type. Read more
impl Copy for tpacket3_hdr
Auto Trait Implementations§
impl Freeze for tpacket3_hdr
impl RefUnwindSafe for tpacket3_hdr
impl Send for tpacket3_hdr
impl Sync for tpacket3_hdr
impl Unpin for tpacket3_hdr
impl UnwindSafe for tpacket3_hdr
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,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more