pub trait ToHex {
    // Required method
    fn to_hex(&self) -> String;
}
Expand description

Trait for objects that can be serialized as hex strings

Required Methods§

fn to_hex(&self) -> String

Hex representation of the object

Implementations on Foreign Types§

§

impl ToHex for [u8]

§

fn to_hex(&self) -> String

Implementors§

§

impl<T> ToHex for Twhere T: LowerHex,