Trait SimplicityKey

Source
pub trait SimplicityKey:
    Clone
    + Eq
    + Ord
    + Debug
    + Display
    + Hash {
    type Sha256: Clone + Eq + Ord + Display + Debug + Hash;
}
Expand description

Public key which can be converted to a hash type.

Required Associated Types§

Source

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

SHA 256 hash associated with this key, used in the sha256 fragment.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§