Type Alias fedimint_core::module::registry::ModuleDecoderRegistry
source · pub type ModuleDecoderRegistry = ModuleRegistry<Decoder, DecodingMode>;Expand description
Collection of decoders belonging to modules, typically obtained from a
ModuleRegistry
Aliased Type§
struct ModuleDecoderRegistry { /* private fields */ }Implementations§
source§impl ModuleDecoderRegistry
impl ModuleDecoderRegistry
pub fn with_fallback(self) -> Self
pub fn decoding_mode(&self) -> DecodingMode
sourcepub fn assert_reject_mode(&self)
pub fn assert_reject_mode(&self)
Panic if the Self::decoding_mode is not Reject