Trait workflow_rs::core::hex::FromHex

source ·
pub trait FromHex: Sized {
    type Error: Display;

    // Required method
    fn from_hex(hex_str: &str) -> Result<Self, Self::Error>;
}

Required Associated Types§

Required Methods§

source

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

Implementations on Foreign Types§

source§

impl FromHex for Vec<u8, Global>

Little endian format of full content (so string lengths must be even).

§

type Error = Error

source§

fn from_hex( hex_str: &str ) -> Result<Vec<u8, Global>, <Vec<u8, Global> as FromHex>::Error>

Implementors§