pub type ModuleDecoderRegistry = ModuleRegistry<Decoder, DecodingMode>;
Expand description
Collection of decoders belonging to modules, typically obtained from a
ModuleRegistry
Aliased Type§
struct ModuleDecoderRegistry {
inner: BTreeMap<u16, (ModuleKind, Decoder)>,
state: DecodingMode,
}
Fields§
§inner: BTreeMap<u16, (ModuleKind, Decoder)>
§state: DecodingMode
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