Enum prefix_hex::Error
source · pub enum Error {
InvalidPrefix {
c0: char,
c1: char,
},
InvalidHexCharacter {
c: char,
index: usize,
},
InvalidStringLength,
InvalidStringLengthSlice {
expected: usize,
actual: usize,
},
OddLength,
}Variants§
Trait Implementations§
source§impl From<FromHexError> for Error
impl From<FromHexError> for Error
source§fn from(v: FromHexError) -> Error
fn from(v: FromHexError) -> Error
Converts to this type from the input type.