Trait exonum::encoding::serialize::HexValue [] [src]

pub trait HexValue: Sized {
    fn to_hex(&self) -> String;
fn from_hex<T: AsRef<str>>(v: T) -> Result<Self, FromHexError>; }

HexValue is a converting trait, for values that could be converted from hex String, and writed as hex String

Required Methods

Format value as hex representation.

Convert value from hex representation.

Implementations on Foreign Types

impl HexValue for Vec<u8>
[src]

[src]

[src]

Implementors