Skip to main content

BitcoinHash

Trait BitcoinHash 

Source
pub trait BitcoinHash {
    // Required method
    fn bitcoin_hash(&self) -> Hash;
}
Expand description

Objects which are referred to by hash

Required Methods§

Source

fn bitcoin_hash(&self) -> Hash

Produces a Sha256dHash which can be used to refer to the object

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§