pub trait Hashable {
    // Required method
    fn hash(&self) -> Vec<u8>;
}
Expand description

Simple Hashable trait with single hash function.

Required Methods§

source

fn hash(&self) -> Vec<u8>

Create a hash from this object

Implementors§