Enum xcb::ProtocolError
source · pub enum ProtocolError {
Show 14 variants
X(Error, Option<&'static str>),
Damage(Error, Option<&'static str>),
Glx(Error, Option<&'static str>),
RandR(Error, Option<&'static str>),
Render(Error, Option<&'static str>),
Shm(Error, Option<&'static str>),
Sync(Error, Option<&'static str>),
Xf86VidMode(Error, Option<&'static str>),
XFixes(Error, Option<&'static str>),
Input(Error, Option<&'static str>),
Xkb(Error, Option<&'static str>),
XPrint(Error, Option<&'static str>),
Xv(Error, Option<&'static str>),
Unknown(UnknownError, Option<&'static str>),
}
Expand description
A protocol error issued from the X server
The second member is the name of the request that emitted the error (if any).
Variants§
X(Error, Option<&'static str>)
The error is from the core X protocol.
Damage(Error, Option<&'static str>)
The error is issued from the DAMAGE
extension.
Glx(Error, Option<&'static str>)
The error is issued from the GLX
extension.
RandR(Error, Option<&'static str>)
The error is issued from the RANDR
extension.
Render(Error, Option<&'static str>)
The error is issued from the RENDER
extension.
Shm(Error, Option<&'static str>)
The error is issued from the MIT-SHM
extension.
Sync(Error, Option<&'static str>)
The error is issued from the SYNC
extension.
Xf86VidMode(Error, Option<&'static str>)
The error is issued from the XFree86-VidModeExtension
extension.
XFixes(Error, Option<&'static str>)
The error is issued from the XFIXES
extension.
Input(Error, Option<&'static str>)
The error is issued from the XInputExtension
extension.
Xkb(Error, Option<&'static str>)
The error is issued from the XKEYBOARD
extension.
XPrint(Error, Option<&'static str>)
The error is issued from the XpExtension
extension.
Xv(Error, Option<&'static str>)
The error is issued from the XVideo
extension.
Unknown(UnknownError, Option<&'static str>)
The error is unknown.