pub trait Request {
const EXTENSION_NAME: Option<&'static str>;
// Required method
fn serialize(self, extension_opcode: u8) -> (Vec<u8>, Vec<OwnedFd>);
}
Expand description
A type implementing this trait is an X11 request.
Required Associated Constants§
sourceconst EXTENSION_NAME: Option<&'static str>
const EXTENSION_NAME: Option<&'static str>
The protocol name of the extension that this request belongs to, or None for core requests
Required Methods§
Object Safety§
This trait is not object safe.