pub trait FromBech32Str {
    const HRP: &'static str;

    fn from_bech32_str(s: &str) -> Result<Self, Error>
    where
        Self: Sized
; }
Expand description

Constructs type from the provided Bech32 string, or fails with Error

Required Associated Constants§

Specifies which HRP is used by Bech32 string representing this data type

Required Methods§

Constructs type from the provided Bech32 string, or fails with Error

Implementations on Foreign Types§

Implementors§