Skip to main content

HashVal

Trait HashVal 

Source
pub trait HashVal: Send + Sync {
    // Required method
    fn hash_val(&self, shard_id: ShardId) -> u128;
}

Required Methods§

Source

fn hash_val(&self, shard_id: ShardId) -> u128

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§