Trait stdto_core::ToHex

source ·
pub trait ToHex: AsRef<[u8]> {
Show 24 methods fn try_to_hex_into_with_mode(
        &self,
        writer: impl Write,
        mode: HexMode
    ) -> Result<()> { ... } fn try_to_hex_with_mode(&self, mode: HexMode) -> Result<String> { ... } fn try_from_hex(hex: impl AsRef<str>) -> Result<Vec<u8>> { ... } fn try_from_hex_from(reader: impl Read) -> Result<Vec<u8>> { ... } fn try_copy_from_hex(&mut self, hex: impl AsRef<str>) -> Result<usize>
    where
        Self: AsMut<[u8]>
, { ... } fn try_to_hex(&self) -> Result<String> { ... } fn try_to_upper_hex(&self) -> Result<String> { ... } fn try_to_hex_with_0x(&self) -> Result<String> { ... } fn try_to_upper_hex_with_0x(&self) -> Result<String> { ... } 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<()> { ... } fn try_to_upper_hex_into(&self, writer: impl Write) -> Result<()> { ... } fn try_to_hex_into_with_0x(&self, writer: impl Write) -> Result<()> { ... } fn try_to_upper_hex_into_with_0x(&self, writer: impl Write) -> Result<()> { ... } 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> { ... } fn from_hex_from(reader: impl Read) -> Vec<u8> { ... } fn copy_from_hex(&mut self, hex: impl AsRef<str>) -> usize
    where
        Self: AsMut<[u8]>
, { ... }
}
Expand description

Provided Methods§

Implementors§