Enum asn1::ParseErrorKind [−][src]
pub enum ParseErrorKind {
InvalidValue,
UnexpectedTag {
actual: u8,
},
ShortData,
IntegerOverflow,
ExtraData,
InvalidSetOrdering,
EncodedDefault,
}Expand description
ParseError are returned when there is an error parsing the ASN.1 data.
Variants
Something about the value was invalid.
An unexpected tag was encountered.
Fields of UnexpectedTag
actual: u8There was not enough data available to complete parsing.
An internal computation would have overflowed.
There was extraneous data in the input.
Elements of a set were not lexicographically sorted.
An OPTIONAL DEFAULT was written with a default value.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.