Struct pcap::PacketHeader
[−]
[src]
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 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