Trait light_hasher::DataHasher
source · pub trait DataHasher {
// Required method
fn hash<H: Hasher>(&self) -> Result<[u8; 32], HasherError>;
}Required Methods§
Object Safety§
This trait is not object safe.
pub trait DataHasher {
// Required method
fn hash<H: Hasher>(&self) -> Result<[u8; 32], HasherError>;
}