BeHex

Trait BeHex 

Source
pub trait BeHex: Sized {
    // Required methods
    fn to_be_hex(&self) -> String;
    fn from_be_hex(hex: &str) -> Option<Self>;
}

Required Methods§

Source

fn to_be_hex(&self) -> String

Source

fn from_be_hex(hex: &str) -> Option<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<B: BeBytes> BeHex for B