Trait lnpbp_bech32::FromBech32IdStr
source · pub trait FromBech32IdStr<Tag>where
Self: HashType<Tag> + Sized,
Tag: Tag,{
fn from_bech32_id_str(s: &str) -> Result<Self, Error>;
}
Expand description
Trait that can generate the type from a given Bech32 id1...
value
Required Methods§
sourcefn from_bech32_id_str(s: &str) -> Result<Self, Error>
fn from_bech32_id_str(s: &str) -> Result<Self, Error>
Reconstructs the identifier type from the provided Bech32 id1...
string