Enum miniscript::miniscript::iter::PkPkh [−][src]
pub enum PkPkh<Pk: MiniscriptKey> { PlainPubkey(Pk), HashedPubkey(Pk::Hash), }
Expand description
Enum representing either key or a key hash value coming from a miniscript item inside AST
Variants
Plain public key
HashedPubkey(Pk::Hash)
Hashed public key
Trait Implementations
Auto Trait Implementations
impl<Pk> RefUnwindSafe for PkPkh<Pk> where
Pk: RefUnwindSafe,
<Pk as MiniscriptKey>::Hash: RefUnwindSafe,
impl<Pk> UnwindSafe for PkPkh<Pk> where
Pk: UnwindSafe,
<Pk as MiniscriptKey>::Hash: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more