Module rgb::bech32[][src]

Enums

Bech32

Bech32 representation of generic RGB data, that can be generated from some string basing on Bech32 HRP value.

Error

Errors generated by Bech32 conversion functions (both parsing and type-specific conversion errors)

Traits

FromBech32

Trait for types that can be reconstructed from Bech32-encoded data tagged with specific HRP

ToBech32

Trait for types which data can be represented in form of Bech32 string

Functions

from_bech32_str

Deserializes a Bech32 to a Vec<u8>.

to_bech32_str

Serializes type to a Bech32 string.