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)
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ParserError
impl Send for ParserError
impl Sync for ParserError
impl Unpin for ParserError
impl !UnwindSafe for ParserError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more