pub trait ExtInfoProvider {
    fn get_from_major_opcode(
        &self,
        major_opcode: u8
    ) -> Option<(&str, ExtensionInformation)>; fn get_from_event_code(
        &self,
        event_code: u8
    ) -> Option<(&str, ExtensionInformation)>; fn get_from_error_code(
        &self,
        error_code: u8
    ) -> Option<(&str, ExtensionInformation)>; }
Expand description

Trait to provide information about extensions.

Required Methods

Returns the information of the extension that whose opcode is major_opcode.

Returns the information of the extension that whose event number range includes event_number.

Returns the information of the extension that whose error number range includes error_number.

Implementors