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