Struct pcap::Savefile [] [src]

pub struct Savefile {
    // some fields omitted
}
[]

Abstraction for writing pcap savefiles, which can be read afterwards via Capture::from_file().

Methods

impl Savefile

fn write<'a>(&mut self, packet: &'a Packet<'a>)

Trait Implementations

impl Drop for Savefile

fn drop(&mut self)