pub trait Bech32 {
const BECH32_HRP: &'static str;
// Required methods
fn try_from_bech32_str(bech32_str: &str) -> Result<Self>
where Self: Sized;
fn to_bech32_str(&self) -> String;
}
Required Associated Constants§
const BECH32_HRP: &'static str
Required Methods§
fn try_from_bech32_str(bech32_str: &str) -> Result<Self>where
Self: Sized,
fn to_bech32_str(&self) -> String
Object Safety§
This trait is not object safe.