Enum xcb::x::Error[][src]

pub enum Error {
Show 17 variants Request(RequestError), Value(ValueError), Window(WindowError), Pixmap(PixmapError), Atom(AtomError), Cursor(CursorError), Font(FontError), Match(MatchError), Drawable(DrawableError), Access(AccessError), Alloc(AllocError), Colormap(ColormapError), GContext(GContextError), IdChoice(IdChoiceError), Name(NameError), Length(LengthError), Implementation(ImplementationError),
}
Expand description

Unified error type for the X core protocol

Variants

Request(RequestError)

Tuple Fields

Value(ValueError)

Tuple Fields

Window(WindowError)

Tuple Fields

Pixmap(PixmapError)

Tuple Fields

Atom(AtomError)

Tuple Fields

Cursor(CursorError)

Tuple Fields

Font(FontError)

Tuple Fields

Match(MatchError)

Tuple Fields

Drawable(DrawableError)

Tuple Fields

Access(AccessError)

Tuple Fields

Alloc(AllocError)

Tuple Fields

Colormap(ColormapError)

Tuple Fields

GContext(GContextError)

Tuple Fields

IdChoice(IdChoiceError)

Tuple Fields

Name(NameError)

Tuple Fields

Length(LengthError)

Tuple Fields

Implementation(ImplementationError)

Tuple Fields

Trait Implementations

Formats the value using the given formatter. Read more

Convert a pointer to xcb_generic_error_t to Self, inferring the correct subtype using response_type field and first_error. Read more

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.