Trait amplify::hex::ToHex

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

Trait for objects that can be serialized as hex strings

Required Methods§

source

fn to_hex(&self) -> String

Hex representation of the object

Implementations on Foreign Types§

source§

impl ToHex for [u8]

source§

fn to_hex(&self) -> String

Implementors§

source§

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