Trait amplify_num::hex::FromHex
source · pub trait FromHex: Sized {
// Required method
fn from_byte_iter<I>(iter: I) -> Result<Self, Error>
where I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator;
// Provided method
fn from_hex(s: &str) -> Result<Self, Error> { ... }
}
Expand description
Trait for objects that can be deserialized from hex strings
Required Methods§
sourcefn from_byte_iter<I>(iter: I) -> Result<Self, Error>
fn from_byte_iter<I>(iter: I) -> Result<Self, Error>
Produce an object from a byte iterator
Provided Methods§
Object Safety§
This trait is not object safe.