Trait hex::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).

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FromHex for Vec<u8>

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 1]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 2]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 3]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 4]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 5]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 6]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 7]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 8]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 9]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 10]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 11]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 12]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 13]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 14]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 15]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 16]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 17]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 18]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 19]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 20]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 21]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 22]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 23]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 24]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 25]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 26]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 27]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 28]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 29]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 30]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 31]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 32]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 33]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 34]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 35]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 36]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 37]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 38]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 39]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 40]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 41]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 42]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 43]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 44]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 45]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 46]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 47]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 48]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 49]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 50]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 51]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 52]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 53]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 54]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 55]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 56]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 57]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 58]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 59]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 60]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 61]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 62]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 63]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 64]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 65]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 66]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 67]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 68]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 69]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 70]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 71]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 72]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 73]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 74]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 75]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 76]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 77]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 78]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 79]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 80]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 81]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 82]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 83]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 84]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 85]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 86]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 87]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 88]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 89]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 90]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 91]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 92]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 93]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 94]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 95]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 96]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 97]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 98]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 99]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 100]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 101]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 102]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 103]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 104]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 105]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 106]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 107]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 108]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 109]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 110]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 111]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 112]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 113]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 114]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 115]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 116]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 117]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 118]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 119]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 120]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 121]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 122]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 123]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 124]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 125]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 126]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 127]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 128]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 160]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 192]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 200]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 224]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 256]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 384]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 512]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 768]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 1024]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 2048]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 4096]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 8192]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 16384]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 32768]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 65536]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 131072]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 262144]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 524288]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 1048576]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 2097152]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 4194304]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 8388608]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 16777216]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 33554432]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 67108864]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 134217728]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 268435456]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 536870912]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 1073741824]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 2147483648]

§

type Error = FromHexError

source§

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

source§

impl FromHex for [u8; 4294967296]

§

type Error = FromHexError

source§

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

Implementors§