pub trait Bech32ID<F: FieldTrait>:
From<F>
+ Deref<Target = F>
+ Into<Vec<F>>
+ Uniform
+ Copy
+ Clone
+ Default
+ Debug
+ Display
+ FromStr
+ ToBytes
+ FromBytes
+ Serialize
+ DeserializeOwned
+ PartialEq
+ Eq
+ Hash
+ Sync
+ Send {
// Required methods
fn prefix() -> String;
fn size_in_bytes() -> usize;
fn number_of_data_characters() -> usize;
}
Required Methods§
fn prefix() -> String
fn size_in_bytes() -> usize
fn number_of_data_characters() -> usize
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.