pub trait Hasher { // Required methods fn write_h256(&mut self, h: &H256); fn finish(self) -> H256; }
Trait for customize hash function