Struct rpcap::write::WriteOptions [] [src]

pub struct WriteOptions {
    pub snaplen: usize,
    pub linktype: u32,
}

The options for creating a new packet capture file.

Fields

The maximum size of a packet that can be written to the file.

The type of packets that will be written to the file. See Linktype for known values.

Trait Implementations

impl Copy for WriteOptions
[src]

impl Clone for WriteOptions
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more