pub trait ToBech32: AsRef<[u8]> {
    const PREFIX: &'static str;

    // Provided method
    fn to_bech32(&self) -> Result<String, Error> { ... }
}

Required Associated Constants§

source

const PREFIX: &'static str

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§