Enum xcb::ProtocolError[][src]

pub enum ProtocolError {
Show 13 variants X(ErrorOption<&'static str>), Damage(ErrorOption<&'static str>), Glx(ErrorOption<&'static str>), RandR(ErrorOption<&'static str>), Render(ErrorOption<&'static str>), Shm(ErrorOption<&'static str>), Sync(ErrorOption<&'static str>), Xf86VidMode(ErrorOption<&'static str>), XFixes(ErrorOption<&'static str>), Input(ErrorOption<&'static str>), Xkb(ErrorOption<&'static str>), XPrint(ErrorOption<&'static str>), Xv(ErrorOption<&'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(ErrorOption<&'static str>)

Tuple Fields

0: Error
1: Option<&'static str>

The error is from the core X protocol.

Damage(ErrorOption<&'static str>)

Tuple Fields

0: Error
1: Option<&'static str>

The error is issued from the DAMAGE extension.

Glx(ErrorOption<&'static str>)

Tuple Fields

0: Error
1: Option<&'static str>

The error is issued from the GLX extension.

RandR(ErrorOption<&'static str>)

Tuple Fields

0: Error
1: Option<&'static str>

The error is issued from the RANDR extension.

Render(ErrorOption<&'static str>)

Tuple Fields

0: Error
1: Option<&'static str>

The error is issued from the RENDER extension.

Shm(ErrorOption<&'static str>)

Tuple Fields

0: Error
1: Option<&'static str>

The error is issued from the MIT-SHM extension.

Sync(ErrorOption<&'static str>)

Tuple Fields

0: Error
1: Option<&'static str>

The error is issued from the SYNC extension.

Xf86VidMode(ErrorOption<&'static str>)

Tuple Fields

0: Error
1: Option<&'static str>

The error is issued from the XFree86-VidModeExtension extension.

XFixes(ErrorOption<&'static str>)

Tuple Fields

0: Error
1: Option<&'static str>

The error is issued from the XFIXES extension.

Input(ErrorOption<&'static str>)

Tuple Fields

0: Error
1: Option<&'static str>

The error is issued from the XInputExtension extension.

Xkb(ErrorOption<&'static str>)

Tuple Fields

0: Error
1: Option<&'static str>

The error is issued from the XKEYBOARD extension.

XPrint(ErrorOption<&'static str>)

Tuple Fields

0: Error
1: Option<&'static str>

The error is issued from the XpExtension extension.

Xv(ErrorOption<&'static str>)

Tuple Fields

0: Error
1: Option<&'static str>

The error is issued from the XVideo extension.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.