Struct pcap::PacketHeader
[−]
[src]
#[repr(C)]pub struct PacketHeader { pub ts: timeval, pub caplen: u32, pub len: u32, }
Represents a packet header provided by pcap, including the timeval, caplen and len.
Fields
ts: timeval
caplen: u32
len: u32
Trait Implementations
impl Copy for PacketHeader
[src]
impl Clone for PacketHeader
[src]
fn clone(&self) -> PacketHeader
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for PacketHeader
[src]
impl PartialEq for PacketHeader
[src]
fn eq(&self, rhs: &PacketHeader) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.