bdk_chain::bitcoin::consensus::encode

Function serialize_hex

pub fn serialize_hex<T>(data: &T) -> String
where T: Encodable + ?Sized,
Expand description

Encodes an object into a hex-encoded string.