pub trait Hashable: Serialize {
// Provided methods
fn hash(&self) -> Hash { ... }
fn hash_bytes(&self) -> Vec<u8> ⓘ { ... }
}
pub trait Hashable: Serialize {
// Provided methods
fn hash(&self) -> Hash { ... }
fn hash_bytes(&self) -> Vec<u8> ⓘ { ... }
}