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
[src]

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

Trait Implementations

impl Drop for Savefile
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more