Expand description
The error types.
These types are returned when hex decoding fails. The high-level ones are
DecodeFixedLengthBytesError and DecodeVariableLengthBytesError which represent all
possible ways in which hex decoding may fail in the two most common decoding scenarios.
Structs§
- Invalid
Char Error - Invalid hex character.
- Invalid
Length Error - Tried to parse fixed-length hash from a string with the wrong length.
- OddLength
String Error - Purported hex string had odd length.
Enums§
- Decode
Fixed Length Bytes Error - Error returned when hex decoding bytes whose length is known at compile time.
- Decode
Variable Length Bytes Error - Error returned when hex decoding a hex string with variable length.