pub trait ToHex: AsRef<[u8]> {
Show 24 methods
fn try_to_hex_into_with_mode(
&self,
writer: impl Write,
mode: HexMode
) -> Result<(), Error> { ... }
fn try_to_hex_with_mode(&self, mode: HexMode) -> Result<String, Error> { ... }
fn try_from_hex(hex: impl AsRef<str>) -> Result<Vec<u8, Global>, Error> { ... }
fn try_from_hex_from(reader: impl Read) -> Result<Vec<u8, Global>, Error> { ... }
fn try_copy_from_hex(&mut self, hex: impl AsRef<str>) -> Result<usize, Error>
where
Self: AsMut<[u8]>,
{ ... }
fn try_to_hex(&self) -> Result<String, Error> { ... }
fn try_to_upper_hex(&self) -> Result<String, Error> { ... }
fn try_to_hex_with_0x(&self) -> Result<String, Error> { ... }
fn try_to_upper_hex_with_0x(&self) -> Result<String, Error> { ... }
fn to_hex(&self) -> String { ... }
fn to_upper_hex(&self) -> String { ... }
fn to_hex_with_0x(&self) -> String { ... }
fn to_upper_hex_with_0x(&self) -> String { ... }
fn try_to_hex_into(&self, writer: impl Write) -> Result<(), Error> { ... }
fn try_to_upper_hex_into(&self, writer: impl Write) -> Result<(), Error> { ... }
fn try_to_hex_into_with_0x(&self, writer: impl Write) -> Result<(), Error> { ... }
fn try_to_upper_hex_into_with_0x(
&self,
writer: impl Write
) -> Result<(), Error> { ... }
fn to_hex_into(&self, writer: impl Write) { ... }
fn to_upper_hex_into(&self, writer: impl Write) { ... }
fn to_hex_into_with_0x(&self, writer: impl Write) { ... }
fn to_upper_hex_into_with_0x(&self, writer: impl Write) { ... }
fn from_hex(hex: impl AsRef<str>) -> Vec<u8, Global> { ... }
fn from_hex_from(reader: impl Read) -> Vec<u8, Global> { ... }
fn copy_from_hex(&mut self, hex: impl AsRef<str>) -> usize
where
Self: AsMut<[u8]>,
{ ... }
}
Expand description