Struct pcap::Linktype
[−]
[src]
pub struct Linktype(pub i32);
This is a datalink link type returned from pcap.
Methods
impl Linktype[src]
fn get_name(&self) -> Result<String, Error>
Gets the name of the link type, such as EN10MB
fn get_description(&self) -> Result<String, Error>
Gets the description of a link type.