pub trait ToHexPrefixed {
    // Required method
    fn to_hex_prefixed(self) -> String;
}
Expand description

Encodes data into an hexadecimal encoded string with a 0x prefix.

Required Methods§

source

fn to_hex_prefixed(self) -> String

Encodes data into an hexadecimal encoded string with a 0x prefix.

Implementations on Foreign Types§

source§

impl ToHexPrefixed for &[u8]

source§

impl<const N: usize> ToHexPrefixed for [u8; N]where Self: ToHex,

source§

impl<const N: usize> ToHexPrefixed for &[u8; N]where [u8; N]: ToHex,

source§

impl ToHexPrefixed for &Box<[u8]>

source§

impl ToHexPrefixed for Vec<u8>

source§

impl ToHexPrefixed for Box<[u8]>

source§

impl ToHexPrefixed for &Vec<u8>

Implementors§