[][src]Trait frame_support::StorageHasher

pub trait StorageHasher: 'static {
    type Output: AsRef<[u8]>;
    fn hash(x: &[u8]) -> Self::Output;
}

Hasher to use to hash keys to insert to storage.

Associated Types

type Output: AsRef<[u8]>

Loading content...

Required methods

fn hash(x: &[u8]) -> Self::Output

Loading content...

Implementors

impl StorageHasher for Blake2_128[src]

impl StorageHasher for Blake2_128Concat[src]

type Output = Vec<u8>

impl StorageHasher for Blake2_256[src]

impl StorageHasher for Identity[src]

type Output = Vec<u8>

impl StorageHasher for Twox64Concat[src]

type Output = Vec<u8>

impl StorageHasher for Twox128[src]

impl StorageHasher for Twox256[src]

Loading content...