[][src]Trait miniscript::MiniscriptKey

pub trait MiniscriptKey: Clone + Eq + Ord + FromStr + Debug + Display + Hash {
    type Hash: Clone + Eq + Ord + FromStr + Display + Debug + Hash;
    fn to_pubkeyhash(&self) -> Self::Hash;
}

Public key trait which can be converted to Hash type

Associated Types

type Hash: Clone + Eq + Ord + FromStr + Display + Debug + Hash

Loading content...

Required methods

fn to_pubkeyhash(&self) -> Self::Hash

Converts an object to PublicHash

Loading content...

Implementations on Foreign Types

impl MiniscriptKey for PublicKey[src]

type Hash = Hash

impl MiniscriptKey for String[src]

type Hash = String

Loading content...

Implementors

impl MiniscriptKey for DummyKey[src]

type Hash = DummyKeyHash

Loading content...