Function x11rb_protocol::protocol::request_name

source ยท
pub(crate) fn request_name(
    ext_info_provider: &dyn ExtInfoProvider,
    major_opcode: u8,
    minor_opcode: u16,
) -> (Option<String>, Option<&'static str>)
Expand description

Get the name of a request from its extension name and opcodes.

First result is the name of the extension, second the name of the request.