Trait frame_support::StorageHasher [−][src]
pub trait StorageHasher: 'static {
type Output: AsRef<[u8]>;
const METADATA: StorageHasher;
fn hash(x: &[u8]) -> Self::Output;
}Hasher to use to hash keys to insert to storage.
Associated Types
Loading content...Associated Constants
const METADATA: StorageHasher[src]
Required methods
Loading content...Implementors
impl StorageHasher for Blake2_128[src]
impl StorageHasher for Blake2_128[src]impl StorageHasher for Blake2_128Concat[src]
impl StorageHasher for Blake2_128Concat[src]impl StorageHasher for Blake2_256[src]
impl StorageHasher for Blake2_256[src]impl StorageHasher for Identity[src]
impl StorageHasher for Identity[src]impl StorageHasher for Twox64Concat[src]
impl StorageHasher for Twox64Concat[src]impl StorageHasher for Twox128[src]
impl StorageHasher for Twox128[src]