Trait libp2p_gossipsub::Hasher
source · pub trait Hasher {
// Required method
fn hash(topic_string: String) -> TopicHash;
}
Expand description
A generic trait that can be extended for various hashing types for a topic.
Required Methods§
Object Safety§
This trait is not object safe.