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

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> { ... } }
Expand description

Trait for objects that can be deserialized from hex strings

Required methods

Produce an object from a byte iterator

Provided methods

Produce an object from a hex string

Implementations on Foreign Types

Implementors