Skip to main content

Hashable

Trait Hashable 

Source
pub trait Hashable {
    // Required method
    fn hash_custom(&self) -> FixedBytes<32>;
}

Required Methods§

Source

fn hash_custom(&self) -> FixedBytes<32>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl Hashable for (u64, u128)

Source§

impl Hashable for Bytes

Source§

impl Hashable for FixedBytes<32>

Source§

impl Hashable for Vec<u8>

Source§

impl Hashable for u128

Implementors§