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) -> Self

source

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

Object Safety§

This trait is not object safe.

Implementors§