Trait hypersync_format::Hex

source ·
pub trait Hex: Sized {
    // Required methods
    fn encode_hex(&self) -> String;
    fn decode_hex(hex: &str) -> Result<Self>;

    // Provided method
    fn encode_hex_with_quotes(&self) -> String { ... }
}

Required Methods§

source

fn encode_hex(&self) -> String

source

fn decode_hex(hex: &str) -> Result<Self>

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§