Enum bgpkit_parser::error::ParserError [−][src]
pub enum ParserError {
IoError(Error, Option<Vec<u8>>),
EofError(Error, Option<Vec<u8>>),
EofExpected,
ParseError(String),
UnknownAttr(String),
TruncatedMsg(String),
Deprecated(String),
Unsupported(String),
}
Variants
ParseError(String)
Tuple Fields of ParseError
0: String
UnknownAttr(String)
Tuple Fields of UnknownAttr
0: String
TruncatedMsg(String)
Tuple Fields of TruncatedMsg
0: String
Deprecated(String)
Tuple Fields of Deprecated
0: String
Unsupported(String)
Tuple Fields of Unsupported
0: String
Trait Implementations
implement Display trait for Error which satistifies the std::error::Error trait’s requirement (must implement Display and Debug traits, Debug already derived)