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
caplen
len

Trait Implementations

impl Debug for PacketHeader

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Clone for PacketHeader

fn clone(&self) -> PacketHeader

fn clone_from(&mut self, source: &Self)

impl Copy for PacketHeader