Trait bs58::ToBase58
[−]
[src]
pub trait ToBase58 { fn to_base58(&self) -> String; fn to_base58_with_alphabet(&self, alpha: &[u8; 58]) -> String; }
A trait for Base58 encoding bytes to an owned string.
Required Methods
fn to_base58(&self) -> String
Base58 encode self
to an owned string using the default alphabet.
fn to_base58_with_alphabet(&self, alpha: &[u8; 58]) -> String
Base58 encode self
to an owned string using the given alphabet.