pub trait ExtensionInfoProvider {
// Required methods
fn get_by_name(&self, name: &str) -> Option<ExtensionInformation>;
fn get_from_major_opcode(
&self,
major_opcode: u8,
) -> Option<(&'static str, ExtensionInformation)>;
fn get_from_event_code(
&self,
event_code: u8,
) -> Option<(&'static str, ExtensionInformation)>;
fn get_from_error_code(
&self,
error_code: u8,
) -> Option<(&'static str, ExtensionInformation)>;
}