Trait breez_sdk_core::bitcoin::util::key::secp256k1::hashes::hex::ToHex

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

Converts to a hexadecimal representation of the object.

Implementations on Foreign Types§

§

impl ToHex for [u8]

§

fn to_hex(&self) -> String

Implementors§

§

impl ToHex for ChannelId

§

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