pub trait Hashable: Serialize {
// Provided methods
fn hash(&self) -> Hash { ... }
fn hash_bytes(&self) -> Vec<u8> ⓘ { ... }
}Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".