pub trait Base58 {
    // Required methods
    fn from_base58(hex: &str) -> Result<Self, Base58Error>
       where Self: Sized;
    fn to_base58(&self) -> String;
}
Expand description

Trait for encoding/decoding to base58.

Required Methods§

source

fn from_base58(hex: &str) -> Result<Self, Base58Error>
where Self: Sized,

Convert from base58 string.

source

fn to_base58(&self) -> String

Convert to base58 string.

Implementors§

source§

impl<T: ByteArray> Base58 for T