Struct rpcap::write::WriteOptions
[−]
[src]
pub struct WriteOptions { pub snaplen: usize, pub linktype: u32, }
The options for creating a new packet capture file.
Fields
snaplen: usize
The maximum size of a packet that can be written to the file.
linktype: u32
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]
fn clone(&self) -> WriteOptions
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more