penumbra_mock_consensus::block

Trait CommitHashingExt

Source
pub trait CommitHashingExt: Sized {
    // Required method
    fn hash(&self) -> Result<Option<Hash>>;
}

Required Methods§

Source

fn hash(&self) -> Result<Option<Hash>>

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.

Implementations on Foreign Types§

Source§

impl CommitHashingExt for Commit

Source§

fn hash(&self) -> Result<Option<Hash>>

Implementors§