Enum radiotap::Error [−]
pub enum Error { ParseError(Error), IncompleteError, InvalidLength, InvalidFormat, UnsupportedVersion, UnsupportedField, }
All errors returned and used by the radiotap module.
Variants
ParseError(Error)
The internal cursor on the data returned an IO error.
IncompleteError
The given data is not a complete Radiotap capture.
InvalidLength
The given data is shorter than the amount specified in the Radiotap header.
InvalidFormat
The given data is not a valid Radiotap capture.
UnsupportedVersion
Unsupported Radiotap header version.
UnsupportedField
Unsupported Radiotap field.
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Error
impl Display for Error
impl Error for Error
impl Error for Error
fn description(&self) -> &str
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for Error
impl From<Error> for Error