Trait frame_support::Hashable
source · pub trait Hashable: Sized {
// Required methods
fn blake2_128(&self) -> [u8; 16];
fn blake2_256(&self) -> [u8; 32];
fn blake2_128_concat(&self) -> Vec<u8> ⓘ;
fn twox_128(&self) -> [u8; 16];
fn twox_256(&self) -> [u8; 32];
fn twox_64_concat(&self) -> Vec<u8> ⓘ;
fn identity(&self) -> Vec<u8> ⓘ;
}
Required Methods§
fn blake2_128(&self) -> [u8; 16]
fn blake2_256(&self) -> [u8; 32]
fn blake2_128_concat(&self) -> Vec<u8> ⓘ
fn twox_128(&self) -> [u8; 16]
fn twox_256(&self) -> [u8; 32]
fn twox_64_concat(&self) -> Vec<u8> ⓘ
fn identity(&self) -> Vec<u8> ⓘ
Object Safety§
This trait is not object safe.