fedimint_core::core

Trait IModuleConsensusItem

Source
pub trait IModuleConsensusItem:
    Debug
    + Display
    + DynEncodable {
    // Required methods
    fn as_any(&self) -> &(dyn Any + Send + Sync);
    fn module_kind(&self) -> Option<ModuleKind>;
    fn clone(
        &self,
        module_instance_id: ModuleInstanceId,
    ) -> DynModuleConsensusItem;
    fn dyn_hash(&self) -> u64;
    fn erased_eq_no_instance_id(&self, other: &DynModuleConsensusItem) -> bool;
}

Required Methods§

Implementors§