fedimint_core::module::registry

Type Alias ServerModuleRegistry

source
pub type ServerModuleRegistry = ModuleRegistry<DynServerModule>;
Expand description

Collection of server modules

Aliased Type§

struct ServerModuleRegistry {
    inner: BTreeMap<u16, (ModuleKind, DynServerModule)>,
    state: (),
}

Fields§

§inner: BTreeMap<u16, (ModuleKind, DynServerModule)>§state: ()

Implementations§

source§

impl ServerModuleRegistry

source

pub fn decoder_registry(&self) -> ModuleDecoderRegistry

Generate a ModuleDecoderRegistry from this ModuleRegistry