pub trait FromPublicKey: Sized {
    // Required methods
    fn from_public_key<P>(public_key: &P) -> Self
       where P: HasPublicKeyHash;
    fn from_public_key_hash<P>(public_key_hash: P) -> Self
       where P: IsPublicKeyHash;
}

Required Methods§

source

fn from_public_key<P>(public_key: &P) -> Selfwhere P: HasPublicKeyHash,

source

fn from_public_key_hash<P>(public_key_hash: P) -> Selfwhere P: IsPublicKeyHash,

Implementors§