[−][src]Module lnpbp::bech32
Types that need to have data1...
and z1...
bech 32 implementation
according to LNPBP-39 must implement ToBech32Payload
and
FromBech32Payload
traits.
Bech32 id1...
representation is provided automatically only for hash types
implementing bitcoin::hashes::Hash
trait
Re-exports
pub use strategies::Strategy; |
pub use zip::*; |
Modules
strategies | |
zip |
Enums
Error | Errors generated by Bech32 conversion functions (both parsing and type-specific conversion errors) |
Constants
HRP_DATA | |
HRP_ID | |
HRP_ZIP | |
RAW_DATA_ENCODING_DEFLATE |
Traits
AsBech32Payload | |
Bech32DataString | |
FromBech32DataStr | |
FromBech32IdStr | Trait that can generate the type from a given Bech32 |
FromBech32Payload | |
FromBech32Str | |
IntoBech32IdString | Trait representing given bitcoin hash type as a Bech32 |
ToBech32DataString | |
ToBech32Payload | |
ToBech32String |