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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.