Struct miniscript::DummyKey [−][src]
pub struct DummyKey;
Expand description
Dummy key which de/serializes to the empty string; useful sometimes for testing
Trait Implementations
type Hash = DummyKeyHash
type Hash = DummyKeyHash
The associated Hash type with the publicKey
Converts an object to PublicHash
Check if the publicKey is uncompressed. The default implementation returns false Read more
Computes the size of a public key when serialized in a script, including the length bytes Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Converts an object to a public key
Converts a hashed version of the public key to a hash160
hash. Read more
Auto Trait Implementations
impl RefUnwindSafe for DummyKey
impl UnwindSafe for DummyKey
Blanket Implementations
Mutably borrows from an owned value. Read more