Trait Request
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§
const 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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.