Trait ToEtherHex

Source
pub trait ToEtherHex {
    // Required methods
    fn to_eth_hex(&self) -> String;
    fn to_eth_value_hex(&self) -> String;
}
Expand description

Implement this trait to support serialize type to ethereum hex string, “0x…”

Required Methods§

Implementors§

Source§

impl<T> ToEtherHex for T
where T: ToHex,