breez_sdk_core::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.

Implementors§