Hasher

Trait Hasher 

Source
pub trait Hasher {
    // Required methods
    fn write_h256(&mut self, h: &H256);
    fn finish(self) -> H256;
}
Expand description

Trait for customize hash function

Required Methods§

Source

fn write_h256(&mut self, h: &H256)

Source

fn finish(self) -> H256

Implementors§