pub trait FromHexDecode: Sized {
    fn from_hex_decode(data: &[u8]) -> Result<Self, Error>;
}
Expand description

Types that can be decoded from a hex string.

Required Methods§

Decodes a hex string to bytes case-insensitively and returns the self type.

Errors

This function returns Err if the content of data is invalid.

Implementations on Foreign Types§

Implementors§