Trait frame_support::StorageHasher
source · [−]pub trait StorageHasher: 'static {
type Output: AsRef<[u8]>;
const METADATA: StorageHasher;
fn hash(x: &[u8]) -> Self::Output;
}
Expand description
Hasher to use to hash keys to insert to storage.