Enum pcap::Error [] [src]

pub enum Error {
    MalformedError(Utf8Error),
    InvalidString,
    PcapError(String),
    InvalidLinktype,
}
[]

An error received from pcap

Variants

MalformedError
InvalidString
PcapError
InvalidLinktype

Trait Implementations

impl Display for Error

fn fmt(&self, f: &mut Formatter) -> Result

impl Error for Error

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl From<Utf8Error> for Error

fn from(obj: Utf8Error) -> Error

Derived Implementations

impl Debug for Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result