Trait tari_utilities::encoding::Base58
source · 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§
sourcefn from_base58(hex: &str) -> Result<Self, Base58Error>where
Self: Sized,
fn from_base58(hex: &str) -> Result<Self, Base58Error>where Self: Sized,
Convert from base58 string.