pub trait Request {
    const EXTENSION_NAME: Option<&'static str>;

    fn serialize(
        self,
        extension_opcode: u8
    ) -> (Vec<u8, Global>, Vec<RawFdContainer, Global>); }
Expand description

A type implementing this trait is an X11 request.

Required Associated Constants

The protocol name of the extension that this request belongs to, or None for core requests

Required Methods

Serialize this request into its X11 protocol wire representation.

The argument is the major opcode of the extension that this request belongs to. For core requests, the argument may not have any influence

Implementors