Trait filecoin_hashers::Hasher
source · pub trait Hasher: Clone + Debug + Eq + Default + Send + Sync {
type Domain: Domain + LightHashable<Self::Function> + AsRef<Self::Domain>;
type Function: HashFunction<Self::Domain>;
// Required method
fn name() -> String;
}
Required Associated Types§
type Domain: Domain + LightHashable<Self::Function> + AsRef<Self::Domain>
type Function: HashFunction<Self::Domain>
Required Methods§
Object Safety§
This trait is not object safe.