Trait SizedHash

Source
pub trait SizedHash: RawHash {
    const N: usize;
}

Required Associated Constants§

Source

const N: usize

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SizedHash for [u8; 20]

Source§

const N: usize = 20usize

Source§

impl SizedHash for [u8; 32]

Source§

const N: usize = 32usize

Implementors§

Source§

impl SizedHash for H160

Source§

const N: usize = 20usize

Source§

impl SizedHash for H256

Source§

const N: usize = 32usize