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

Trait Implementations

impl Copy for PacketHeader
[src]

impl Clone for PacketHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PacketHeader
[src]

Formats the value using the given formatter.

impl PartialEq for PacketHeader
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for PacketHeader
[src]