hex

Trait FromHex

Source
pub trait FromHex: Sized {
    type Error;

    // Required method
    fn from_hex<T: AsRef<[u8]>>(hex: T) -> Result<Self, Self::Error>;
}
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: AsRef<[u8]>>(hex: T) -> Result<Self, Self::Error>

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>

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 1]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 2]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 3]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 4]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 5]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 6]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 7]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 8]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 9]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 10]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 11]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 12]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 13]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 14]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 15]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 16]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 17]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 18]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 19]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 20]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 21]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 22]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 23]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 24]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 25]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 26]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 27]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 28]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 29]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 30]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 31]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 32]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 33]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 34]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 35]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 36]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 37]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 38]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 39]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 40]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 41]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 42]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 43]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 44]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 45]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 46]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 47]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 48]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 49]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 50]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 51]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 52]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 53]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 54]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 55]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 56]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 57]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 58]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 59]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 60]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 61]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 62]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 63]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 64]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 65]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 66]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 67]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 68]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 69]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 70]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 71]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 72]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 73]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 74]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 75]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 76]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 77]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 78]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 79]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 80]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 81]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 82]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 83]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 84]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 85]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 86]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 87]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 88]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 89]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 90]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 91]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 92]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 93]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 94]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 95]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 96]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 97]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 98]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 99]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 100]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 101]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 102]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 103]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 104]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 105]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 106]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 107]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 108]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 109]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 110]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 111]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 112]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 113]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 114]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 115]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 116]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 117]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 118]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 119]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 120]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 121]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 122]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 123]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 124]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 125]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 126]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 127]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 128]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 160]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 192]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 200]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 224]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 256]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 384]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 512]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 768]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 1024]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 2048]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 4096]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 8192]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 16384]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 32768]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 65536]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 131072]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 262144]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 524288]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 1048576]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 2097152]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 4194304]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 8388608]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 16777216]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 33554432]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 67108864]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 134217728]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 268435456]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 536870912]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 1073741824]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 2147483648]

Source§

type Error = FromHexError

Source§

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

Source§

impl FromHex for [u8; 4294967296]

Source§

type Error = FromHexError

Source§

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

Implementors§