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>
Object Safety§
This trait is not object safe.