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: StringUnknownAttr(String)Tuple Fields of UnknownAttr
0: StringTruncatedMsg(String)Tuple Fields of TruncatedMsg
0: StringDeprecated(String)Tuple Fields of Deprecated
0: StringUnsupported(String)Tuple Fields of Unsupported
0: StringTrait Implementations
implement Display trait for Error which satistifies the std::error::Error trait’s requirement (must implement Display and Debug traits, Debug already derived)