Enum pcap_file::errors::ErrorKind
[−]
pub enum ErrorKind {
Msg(String),
Io(Error),
WrongField(String),
BufferUnderflow(u64, u64),
}The kind of an error.
Variants
Msg(String)A convenient variant for String.
Io(Error)WrongField(String)Invalid header field value
BufferUnderflow(u64, u64)Not enough space in the buffer to read the requested bytes
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.