pub trait AsymmetricPublicKey {
type Public: AsRef<[u8]> + Clone + PartialEq + Eq + Hash;
const PUBLIC_BECH32_HRP: &'static str;
const PUBLIC_KEY_SIZE: usize;
// Required method
fn public_from_binary(data: &[u8]) -> Result<Self::Public, PublicKeyError>;
}
Required Associated Constants§
const PUBLIC_BECH32_HRP: &'static str
const PUBLIC_KEY_SIZE: usize
Required Associated Types§
Required Methods§
fn public_from_binary(data: &[u8]) -> Result<Self::Public, PublicKeyError>
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.