pub enum HexStringError {
InvalidCharacter(char),
InvalidStringLength,
InvalidNibble(u8),
}
There was an invalid character in the hex string
All hex strings must be an even length in order to represent bytes because each two
characters represents one byte
Somehow the conversion function tried to convert a value outside the range of 0-15
(inclusive) into a hex value. This should only be raised from a direct call to
nibble_to_hexchar
, or in the case of a bug in this module.
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static