Enum rshark::Error [] [src]

pub enum Error {
    Underflow {
        expected: usize,
        have: usize,
        message: String,
    },
    InvalidData(String),
}

An error related to packet dissection (underflow, bad value, etc.).

Variants

Fields of Underflow

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter. Read more