const_hex

Trait FromHex

Source
pub trait FromHex: Sized {
    type Error;

    // Required method
    fn from_hex<T>(hex: T) -> Result<Self, Self::Error>
       where T: AsRef<[u8]>;
}
Expand description

Types that can be decoded from a hex string.

This trait is implemented for Vec<u8> and small u8-arrays.

§Example

use core::str;
use hex::FromHex;

let buffer = <[u8; 12]>::from_hex("48656c6c6f20776f726c6421")?;
let string = str::from_utf8(&buffer).expect("invalid buffer length");

println!("{}", string); // prints "Hello world!"

Required Associated Types§

Required Methods§

Source

fn from_hex<T>(hex: T) -> Result<Self, Self::Error>
where T: AsRef<[u8]>,

Creates an instance of type Self from the given hex string, or fails with a custom error type.

Both, upper and lower case characters are valid and can even be mixed (e.g. f9b4ca, F9B4CA and f9B4Ca are all valid strings).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FromHex for Vec<u8>

Available on crate feature alloc only.
Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<Vec<u8>, <Vec<u8> as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 1]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 1], <[u8; 1] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 2]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 2], <[u8; 2] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 3]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 3], <[u8; 3] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 4]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 4], <[u8; 4] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 5]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 5], <[u8; 5] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 6]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 6], <[u8; 6] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 7]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 7], <[u8; 7] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 8]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 8], <[u8; 8] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 9]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 9], <[u8; 9] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 10]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 10], <[u8; 10] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 11]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 11], <[u8; 11] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 12]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 12], <[u8; 12] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 13]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 13], <[u8; 13] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 14]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 14], <[u8; 14] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 15]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 15], <[u8; 15] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 16]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 16], <[u8; 16] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 17]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 17], <[u8; 17] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 18]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 18], <[u8; 18] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 19]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 19], <[u8; 19] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 20]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 20], <[u8; 20] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 21]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 21], <[u8; 21] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 22]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 22], <[u8; 22] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 23]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 23], <[u8; 23] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 24]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 24], <[u8; 24] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 25]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 25], <[u8; 25] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 26]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 26], <[u8; 26] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 27]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 27], <[u8; 27] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 28]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 28], <[u8; 28] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 29]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 29], <[u8; 29] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 30]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 30], <[u8; 30] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 31]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 31], <[u8; 31] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 32]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 32], <[u8; 32] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 33]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 33], <[u8; 33] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 34]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 34], <[u8; 34] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 35]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 35], <[u8; 35] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 36]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 36], <[u8; 36] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 37]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 37], <[u8; 37] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 38]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 38], <[u8; 38] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 39]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 39], <[u8; 39] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 40]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 40], <[u8; 40] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 41]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 41], <[u8; 41] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 42]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 42], <[u8; 42] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 43]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 43], <[u8; 43] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 44]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 44], <[u8; 44] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 45]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 45], <[u8; 45] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 46]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 46], <[u8; 46] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 47]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 47], <[u8; 47] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 48]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 48], <[u8; 48] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 49]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 49], <[u8; 49] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 50]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 50], <[u8; 50] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 51]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 51], <[u8; 51] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 52]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 52], <[u8; 52] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 53]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 53], <[u8; 53] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 54]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 54], <[u8; 54] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 55]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 55], <[u8; 55] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 56]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 56], <[u8; 56] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 57]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 57], <[u8; 57] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 58]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 58], <[u8; 58] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 59]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 59], <[u8; 59] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 60]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 60], <[u8; 60] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 61]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 61], <[u8; 61] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 62]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 62], <[u8; 62] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 63]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 63], <[u8; 63] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 64]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 64], <[u8; 64] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 65]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 65], <[u8; 65] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 66]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 66], <[u8; 66] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 67]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 67], <[u8; 67] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 68]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 68], <[u8; 68] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 69]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 69], <[u8; 69] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 70]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 70], <[u8; 70] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 71]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 71], <[u8; 71] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 72]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 72], <[u8; 72] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 73]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 73], <[u8; 73] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 74]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 74], <[u8; 74] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 75]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 75], <[u8; 75] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 76]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 76], <[u8; 76] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 77]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 77], <[u8; 77] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 78]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 78], <[u8; 78] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 79]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 79], <[u8; 79] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 80]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 80], <[u8; 80] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 81]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 81], <[u8; 81] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 82]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 82], <[u8; 82] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 83]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 83], <[u8; 83] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 84]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 84], <[u8; 84] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 85]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 85], <[u8; 85] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 86]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 86], <[u8; 86] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 87]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 87], <[u8; 87] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 88]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 88], <[u8; 88] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 89]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 89], <[u8; 89] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 90]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 90], <[u8; 90] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 91]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 91], <[u8; 91] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 92]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 92], <[u8; 92] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 93]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 93], <[u8; 93] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 94]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 94], <[u8; 94] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 95]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 95], <[u8; 95] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 96]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 96], <[u8; 96] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 97]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 97], <[u8; 97] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 98]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 98], <[u8; 98] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 99]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 99], <[u8; 99] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 100]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 100], <[u8; 100] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 101]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 101], <[u8; 101] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 102]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 102], <[u8; 102] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 103]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 103], <[u8; 103] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 104]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 104], <[u8; 104] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 105]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 105], <[u8; 105] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 106]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 106], <[u8; 106] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 107]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 107], <[u8; 107] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 108]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 108], <[u8; 108] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 109]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 109], <[u8; 109] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 110]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 110], <[u8; 110] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 111]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 111], <[u8; 111] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 112]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 112], <[u8; 112] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 113]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 113], <[u8; 113] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 114]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 114], <[u8; 114] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 115]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 115], <[u8; 115] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 116]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 116], <[u8; 116] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 117]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 117], <[u8; 117] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 118]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 118], <[u8; 118] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 119]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 119], <[u8; 119] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 120]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 120], <[u8; 120] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 121]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 121], <[u8; 121] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 122]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 122], <[u8; 122] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 123]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 123], <[u8; 123] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 124]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 124], <[u8; 124] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 125]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 125], <[u8; 125] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 126]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 126], <[u8; 126] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 127]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 127], <[u8; 127] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 128]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 128], <[u8; 128] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 160]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 160], <[u8; 160] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 192]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 192], <[u8; 192] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 200]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 200], <[u8; 200] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 224]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 224], <[u8; 224] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 256]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 256], <[u8; 256] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 384]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 384], <[u8; 384] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 512]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 512], <[u8; 512] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 768]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 768], <[u8; 768] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 1024]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 1024], <[u8; 1024] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 2048]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 2048], <[u8; 2048] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 4096]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 4096], <[u8; 4096] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 8192]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 8192], <[u8; 8192] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 16384]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 16384], <[u8; 16384] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 32768]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 32768], <[u8; 32768] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 65536]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 65536], <[u8; 65536] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 131072]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 131072], <[u8; 131072] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 262144]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 262144], <[u8; 262144] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 524288]

Source§

type Error = FromHexError

Source§

fn from_hex<T>(hex: T) -> Result<[u8; 524288], <[u8; 524288] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 1048576]

Source§

type Error = FromHexError

Source§

fn from_hex<T>( hex: T, ) -> Result<[u8; 1048576], <[u8; 1048576] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 2097152]

Source§

type Error = FromHexError

Source§

fn from_hex<T>( hex: T, ) -> Result<[u8; 2097152], <[u8; 2097152] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 4194304]

Source§

type Error = FromHexError

Source§

fn from_hex<T>( hex: T, ) -> Result<[u8; 4194304], <[u8; 4194304] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 8388608]

Source§

type Error = FromHexError

Source§

fn from_hex<T>( hex: T, ) -> Result<[u8; 8388608], <[u8; 8388608] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 16777216]

Source§

type Error = FromHexError

Source§

fn from_hex<T>( hex: T, ) -> Result<[u8; 16777216], <[u8; 16777216] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 33554432]

Source§

type Error = FromHexError

Source§

fn from_hex<T>( hex: T, ) -> Result<[u8; 33554432], <[u8; 33554432] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 67108864]

Source§

type Error = FromHexError

Source§

fn from_hex<T>( hex: T, ) -> Result<[u8; 67108864], <[u8; 67108864] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 134217728]

Source§

type Error = FromHexError

Source§

fn from_hex<T>( hex: T, ) -> Result<[u8; 134217728], <[u8; 134217728] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 268435456]

Source§

type Error = FromHexError

Source§

fn from_hex<T>( hex: T, ) -> Result<[u8; 268435456], <[u8; 268435456] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 536870912]

Source§

type Error = FromHexError

Source§

fn from_hex<T>( hex: T, ) -> Result<[u8; 536870912], <[u8; 536870912] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 1073741824]

Source§

type Error = FromHexError

Source§

fn from_hex<T>( hex: T, ) -> Result<[u8; 1073741824], <[u8; 1073741824] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 2147483648]

Source§

type Error = FromHexError

Source§

fn from_hex<T>( hex: T, ) -> Result<[u8; 2147483648], <[u8; 2147483648] as FromHex>::Error>
where T: AsRef<[u8]>,

Source§

impl FromHex for [u8; 4294967296]

Source§

type Error = FromHexError

Source§

fn from_hex<T>( hex: T, ) -> Result<[u8; 4294967296], <[u8; 4294967296] as FromHex>::Error>
where T: AsRef<[u8]>,

Implementors§