pub trait Bech32Object<T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send>:
From<T>
+ Deref<Target = T>
+ Clone
+ Debug
+ Display
+ ToBytes
+ FromBytes
+ PartialEq
+ Eq
+ Serialize
+ DeserializeOwned
+ Sync
+ Send {
// Required method
fn prefix() -> String;
}
Required Methods§
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.