Skip to main content

NostrToBech32

Trait NostrToBech32 

Source
pub trait NostrToBech32 {
    type Err;

    // Required method
    fn to_bech32(&self) -> Result<String, Self::Err>;
}

Required Associated Types§

Required Methods§

Source

fn to_bech32(&self) -> Result<String, Self::Err>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§