ToHex

Trait 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

Converts to a hexadecimal representation of the object.

Implementations on Foreign Types§

Source§

impl ToHex for [u8]

Source§

fn to_hex(&self) -> String

Implementors§

Source§

impl<T: LowerHex> ToHex for T