[][src]Trait bitcoin_hashes::hex::FromHex

pub trait FromHex: Sized {
    fn from_byte_iter<I>(iter: I) -> Result<Self, Error>
    where
        I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator
; fn from_hex(s: &str) -> Result<Self, Error> { ... } }

Trait for objects that can be deserialized from hex strings

Required methods

fn from_byte_iter<I>(iter: I) -> Result<Self, Error> where
    I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator

Produce an object from a byte iterator

Loading content...

Provided methods

fn from_hex(s: &str) -> Result<Self, Error>

Produce an object from a hex string

Loading content...

Implementations on Foreign Types

impl FromHex for Vec<u8>[src]

impl FromHex for [u8; 2][src]

impl FromHex for [u8; 4][src]

impl FromHex for [u8; 6][src]

impl FromHex for [u8; 8][src]

impl FromHex for [u8; 10][src]

impl FromHex for [u8; 12][src]

impl FromHex for [u8; 14][src]

impl FromHex for [u8; 16][src]

impl FromHex for [u8; 20][src]

impl FromHex for [u8; 24][src]

impl FromHex for [u8; 28][src]

impl FromHex for [u8; 32][src]

impl FromHex for [u8; 33][src]

impl FromHex for [u8; 64][src]

impl FromHex for [u8; 65][src]

impl FromHex for [u8; 128][src]

impl FromHex for [u8; 256][src]

impl FromHex for [u8; 384][src]

impl FromHex for [u8; 512][src]

Loading content...

Implementors

impl FromHex for Midstate[src]

impl<T: Hash> FromHex for T[src]

Loading content...