Trait Hashable
arber
pub trait Hashable { fn hash(&self) -> Hash; }
Types with a canonical hash
fn hash(&self) -> Hash
impl Hashable for Vec<u8>
impl Hashable for u64
impl<A, B> Hashable for (A, B) where A: Hashable, B: Hashable,
impl Hashable for Hash
Return the hash, without hashing again.