IsPublicKeyHash

Trait IsPublicKeyHash 

Source
pub trait IsPublicKeyHash: Copy {
    // Required methods
    fn get_hash_bytes(&self) -> &[u8; 29];
    fn into_enum(self) -> PublicKeyHash;
}

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.

Implementors§