breez_sdk_liquid::bitcoin::bech32

Trait Base32Len

pub trait Base32Len: ToBase32 {
    // Required method
    fn base32_len(&self) -> usize;
}
Expand description

Interface to calculate the length of the base32 representation before actually serializing

Required Methods§

fn base32_len(&self) -> usize

Calculate the base32 serialized length

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl Base32Len for Description

§

fn base32_len(&self) -> usize

§

impl Base32Len for ExpiryTime

§

fn base32_len(&self) -> usize

§

impl Base32Len for Fallback

§

fn base32_len(&self) -> usize

§

impl Base32Len for MinFinalCltvExpiryDelta

§

fn base32_len(&self) -> usize

§

impl Base32Len for PayeePubKey

§

fn base32_len(&self) -> usize

§

impl Base32Len for PrivateRoute

§

fn base32_len(&self) -> usize

§

impl Base32Len for Sha256

§

fn base32_len(&self) -> usize

Implementors§

§

impl Base32Len for breez_sdk_liquid::lightning_invoice::Fallback

§

impl Base32Len for breez_sdk_liquid::lightning::ln::features::Features<Bolt11InvoiceContext>

§

impl Base32Len for breez_sdk_liquid::lightning_125::types::features::Features<Bolt11InvoiceContext>

§

impl Base32Len for breez_sdk_liquid::lightning_125::types::payment::PaymentSecret

§

impl Base32Len for breez_sdk_liquid::lightning_invoice::Description

§

impl Base32Len for breez_sdk_liquid::lightning_invoice::ExpiryTime

§

impl Base32Len for breez_sdk_liquid::lightning_invoice::MinFinalCltvExpiryDelta

§

impl Base32Len for breez_sdk_liquid::lightning_invoice::PayeePubKey

§

impl Base32Len for breez_sdk_liquid::lightning_invoice::PaymentSecret

§

impl Base32Len for breez_sdk_liquid::lightning_invoice::PrivateRoute

§

impl Base32Len for breez_sdk_liquid::lightning_invoice::Sha256

§

impl<T> Base32Len for T
where T: AsRef<[u8]>,